TOC  |              |              | 


dow - converts date to the day-of-week

dow yr mon day or
dow yr DOY or
dow MJD
where DOY = day-of-year, and MJD = modified Julian date.


DESCRIPTION

dow takes a user input date, given as a Gregorian calendar date or Modified Julian date, and computes the day-of-week of that date (0 = Sunday, 1 = Monday, ..., 6 = Saturday) writing the result to stdout.

dow recognizes three input forms

EXAMPLES

Values returned by the program will be shown in fixed width font.
Convert date to the day-of-week.
dow 98 1 14
3

Convert year/DOY to the day-of-week.
dow 98 014
3

Convert MJD to the day-of-week.
dow 50827
3



 TOC  |              |              | 


dow.html
January 14, 2000
Steve Hilla