Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Julian
Message
De
16/03/2001 08:04:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/03/2001 07:56:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Julian
Divers
Thread ID:
00485797
Message ID:
00485801
Vues:
14
>I need to return the day of the year from a function.
>
>i.e. 01/01/2001 = 1, 02/01/2001 = 2, 31/12/2001 = 365
>
>This needs to take leap years into consideration.
>
>Your help is much appreciated.
>
>Thanks
>
>Robin Das

lnDayOfYear = ldDate - ctod('^'+str(year(ldDate)-1,4)+'/12/31')
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform