[ Basic Info | References | User Guide ]
Basic Information on julian
Task: julian
Purpose: Julian Day conversion
Categories: misc
JULIAN
This task computes the Julian Day given an input date. The
reverse calculation, Julian Day to a formatted date, is also
possible. With no arguments, JULIAN will convert the current
date and time to Julian Day.
A modified julian day is also printed out, which is simply
JD - 2400000.5
For reference. MJD2000 = 51544.0, JD2000 = 2451544.5
Key: date
The formatted date to convert. It must be one of the following forms:
`yymmmdd.dd' (D)
or:
`dd/mm/yy' (F)
or:
`[yymmmdd:][hh[:mm[:ss.s]]]' (H)
or:
`ccyy-mm-dd[Thh[:mm[:ss.s]]]' (T)
or:
`dd-mmm-ccyy' (V)
Leave this input unspecified if you are converting from Julian Day
to date.
Key: jday
The Julian Day in floating point format. If given, the program
will convert it to a date, formatted by FORMAT keyword specification.
Leave this input unspecified if you are converting from date
to Julian Day.
Key: format
The requested OUTPUT format for converting a Julian day to a
date. It is indicated by a single letter [DFHTV], which corresponds
to the date formats given above [default=H]. This input is ignored for
date to Julian day conversions
Key: options
quiet - report only the answer and not other info. Useful
if you are using this program in a script.