Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lowdown on Julian date
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00188463
Message ID:
00188504
Vues:
24
VFP's 'Julian date' - I assume you refer to Julian system date - is SYS(1), which returns the value I showed: 2451227
VFP's 'Julian day number' is SYS(10) is the same function, only for a given date, not the current system date, and returns the same value for today: 2451227

Neither of these contain the year explicitly within the returned value.
This is what's confusing...

Mark

>There's Julian date and Julian daynumber. One is number of days since a given date. Other is year plus days within a year as in your example. I can't remember which term applies to which, but it seems logical to me that daynumber would be the one which is year plus day within year. If you search the web for Julian, date, day, and number, you'll get a lot of "hits" with information.
>
>FoxPro stores dates internally as the number of days since a start date (somewhere around 4000 B.C., I forget). DateTimes are stored as that day number plus a decimal part representing how much of the day has passed.
>
>Hope some of this is what you wanted to know.
>
>Cheers,
>Rich.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform