Next / Previous / Contents / Shipman's homepage

4.5. jd: Convert to Julian date

To find the Julian date number for a given date, with or without a time of day, use a command of this form:

jd datetime

For the syntax of dates and times, see Section 4.1, “Specifying dates and times on command lines”. As a convenience, you can supply the date and time as two separate arguments without the “T” separator between them.


$ jd 1985-02-17t06:00
$ jd 1985-02-17 6:00