Convert Date and Time Between Various Formats


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



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

Telescope Data Center