Using the date program in version 2.0 of the shell
utilities:
date -d "Oct 30, 1999" +%j
gives a result of 303, which is correct.
Omitting the comma in the datestring:
date -d "Oct 30 1999" +%j
gives a result of 304, which is off by a day.
The problem seems to be that getdate.y parses "Oct 30 1999" as
"month day hhmm" instead of "month day year".
I've added text just after line 327 of getdate.y which seems to
cure the problem. Here's a diff from the original getdate.y
--
Norm Wood
CIRES/NOAA Climate Monitoring and Diagnostics Lab
Solar and Thermal Atmospheric Radiation Group
[EMAIL PROTECTED] CIRES
phone: 303-497-6666 Campus Box 449
fax: 303-497-5590 Boulder, CO 80309-0449
327a328,332
> | tMONTH tUNUMBER tUNUMBER {
> yyMonth = $1;
> yyDay = $2;
> yyYear = $3;
> }