$ getdate
GETDATE WCSTools 3.8.3, 14 July 2011, Doug Mink SAO
Convert date and time between various formats
Usage: [-dv][-n dec][-f format] itype2otype [date and/or time] [ra dec
sys]
[-dv][-n dec][-f format] itype2otype @file
itype: nfd=ISOFITS fd=FITS, dt=yyyy.mmdd, hr=hh:mm:ss, deg=dd:mm:ss
jd=Julian Date, mjd=Modified Julian Date
hjd=Heliocentric Julian Date, mhjd=Modified HJD
ep=epoch, epj=Julian epoch, epb=Besselian epoch
lt=local time, ut=UT, ts=seconds since 1950-01-01
now=current time, ang=fractional degrees
otype: fd=FITS, dt=yyyy.mmdd, jd=Julian Date, mjd=Modified Julian Date
hjd=Heliocentric Julian Date, mhjd=Modified HJD
hr=hh:mm:ss, deg=dd:mm:ss, ang=fractional degrees
ep=epoch, epj=Julian epoch, epb=Besselian epoch
ts=seconds since 1950-01-01, tsu=Unix sec, tsi=IRAF sec
gst=Greenwich Sidereal Time, lst=Local Sidereal Time
@file: First one or two columns are in itype format
ra dec sys: Need for Heliocentric conversions
-a: Append date to input file, if there is one
-d: Print date without time
-e: Print output as ET/TDT/TT converting from UT
-f: Format for output number (C printf)
-h hours: Longitude in hours, west positive
-l degrees: Longitude in degrees, west positive
-n: Number of decimal places in sec, epoch, JD
-t: Print time without date
-v: Verbose
$