NAME

jd - prints the Julian Date

SYNOPSIS

jd [mjd] [help] [iso=yyyy-mm-ddTHH:MM:SSZ] [year=yyyy..] [pipe[2]]

DESCRIPTION

This program prints out the Julian Date in a format like 2450830.5281 . When used without arguments, it prints out the current JD using the system clock.

OPTIONS

mjd - prints out the modified julian date, e.g. 50830.0281.

epoch - prints out the year and fraction.

pipe - reads input from stdin where the first field is an iso date and replaces it with jd or mjd and the rest of the line. pipe2 subtracts off first jd.

year= prints out the jd for the specified decimal year.

LIMITATIONS

The date cannot be before 1960.
Program index