Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Julian Date Conversion
Message
 
 
To
27/01/2003 16:37:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00745969
Message ID:
00746023
Views:
43
Tracy,

By looking at the data he gave its using the definition of # of days since the beginning of the year. That's one way of defining julian dates.

>I'm alittle confused. Doesn't your function convert the value 2003001 to the number of days in the year 2003? However, a Julian Day Number is a count of days that have elapsed since Greenwich mean time at noon on 1 January 4713 B.C. The Julian Date is the Julian day number followed by the fraction of the day elapsed since the preceding noon. The julian date for today after 12:00 noon would be 2452667, not 2003027. Did I miss something? I have not seen any VFP code to convert a julian date back to a gregorian date only the VFP function sys(11) that converts a gregorian date to a julian date. Perhaps he is not really using valid julian dates?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform