>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)