| getdate
Convert Date and Time Between Various Formats
|
getdate
getdate converts a date from one format to another. Date formats
supported include
- jd: Julian Date
(Julian days since (days since noon, January 1, 4713 BC)
- ep: Epoch
(actual fractional year)
- epb: Besselian Epoch
(B1900.0 + (Julian Date - 2415020.31352) / 365.242198781)
- epj: Julian Epoch
(J2000.0 + (Julian Date - 2451545) / 365.25)
- ofd: Old FITS standard
(dd/mm/yy hh:mm:ss.ss) (Two arguments are allowed)
- fd: New FITS standard
(yyyy-mm-ddThh:mm:ss.sss, ISO standard)
- dt: Vigesimal (yyyy.mmdd hh.mmsssss)
(Two arguments are allowed)
- ts: Seconds since 1950-01-01T0:00:00
(used for solar system ephemeris computations)
- tsu: Seconds since 1970-01-01T0:00:00
(used by Unix (UT))
- tsi: Seconds since 1980-01-01T0:00:00
(used by IRAF for time-tags in files (local time))
When converting to and from epochs and Julian Date, Universal Time (UTC)
is assumed. The command old type2new type must appear on the
command line before the date to be converted.
(New in WCSTools 2.6.11)
Command Line Arguments
-n number
Number of decimal places in seconds, epoch, or JD
-v
Verbose
Examples
1. Print Usage Instructions
2. Verbose Mode
3. Fractional year to Julian Date
4. New FITS date from old FITS date
Last updated 03 August 20 18 by
Jessica Mink