TOC  |              |              | 


dmjd - date+time conversion to/from decimal modified Julian date

dmjd yr mon day hour minute seconds or
dmjd yr DOY hour minute seconds or
dmjd decimal MJD or
where DOY = day-of-year and MJD = modified Julian date.


DESCRIPTION

dmjd takes a user input date and time, given as year, month and day, hour, minute and seconds, or year and day-of-year, hour, minute, and seconds, converts this to the modified Julian date with fractional day, and writes the result to stdout. Conversely, dmjd will convert a modified Julian date to the equivalent date and time

dmjd recognizes three input forms

EXAMPLES

Values returned by the program will be shown in fixed width font.
Convert a year, month and day to the modified Julian date.
dmjd 97 12 1 6 0 0
50783.250000

Convert a year and day-of-year to the modified Julian date.
dmjd 97 335 15 30 0
50783.645833

Convert a modified Julian date to the calendar date.
dmjd 50827.333333
1998 1 14 8 0 0



 TOC  |              |              | 


dmjd.html
January 14, 2000
Steve Hilla