Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculate the number of days since the beginning of year
Message
De
16/04/1998 10:07:42
 
 
À
16/04/1998 09:45:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00092480
Message ID:
00092499
Vues:
29
In Edward's example, you might want to consider to use the 4 character year to be Y2K.
? date()-ctod("01/01/"+str(year(date()))

-myron kirby-
myronk@flash.net
------------------------------------------
>>>What would be the simpliest technique to calculate the number of days since the beginning of year?
>>
>>? date()-ctod("01/01/"+right(str(year(date()),4),2))
>
>I should have thought more about this calculation. :) Thanks for the help.
----------------------------------
-myron kirby (mkirby2000@gmail.com)-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform