Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Chronological Day of Year
Message
De
15/02/2001 13:32:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00475770
Message ID:
00476394
Vues:
34
>>Is there a function or command in VFP6 to return the chronological day of the year. For example, today, 2/14/2001, is day 45. TIA, Chuck.
>
>SYS(1) - Julian System Date Example
>
>? SYS(1)
>? SYS(10,VAL(SYS(1)))

Actually, that's not what SYS(1) (and the related functions) do. They provide the date as a number counting from a date way back in ancient history. Running SYS(1) today gives 2451956.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform