getdate
Convert Date and Time Between Various Formats

getdate

getdate converts a date from one format to another. Date formats supported include

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 30 May 2002 by Doug Mink

Telescope Data Center