Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Julian date
Message
From
23/10/2002 23:13:03
 
 
To
23/10/2002 20:35:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00714610
Message ID:
00714641
Views:
14
Thanks Hilmar - it nice to know you can pose a question on this board and within a short time you will have an answer.

Thanks Again
Gaylen

>>I need to record a transaction date in julian date format (YYDDD). When I use sys(1) or sys(11) I get a number such as 2452571 for todays date. I assume the DDD is the number of days since January 1st, so I probably could subtract the julian number for January 1 from the transaction date.
>>
>>Anyone else have a better solutionm. The (YYDDD) is required to report insurance policy information to NCCI.
>>
>>Thanks
>>Gaylen
>
>Julian date is the number of days that passed from a day in the remote past - some 6000 years ago (?). If you want the number of days elapsed in the current year, subtract (for 2002):
>
>
>? date() - {^2001-12-31}
>
>
>HTH, Hilmar.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform