TOC  |              |              | 


doy - year, month, day conversion to/from year, day-of-year

doy yr mon day or
doy yr DOY
where DOY = day-of-year.


DESCRIPTION

doy takes a user input date, given as year, month, and day, converts to the year and day-of-year and writes the result to stdout. Conversely, doy will convert a year, day-of-year to the year, month and day.

doy recognizes two input forms

EXAMPLES

Values returned by the program will be shown in fixed width font.
Convert a year, month and day to the year and day-of-year.
doy 97 12 1
97 335

Convert a year and day-of-year to the equivalent date.
doy 98 14
1998 1 14



 TOC  |              |              | 


doy.html
January 14, 2000
Steve Hilla