GETDATE(1)

πŸ’… getdate(1) β€” date converter supreme πŸ’…

ok bestie, the manual name is getdate and it lives in the User Commands section, which is exactly where you'd expect a little date-formatting icon to live. let's get into it πŸ’–

🌈 NAME 🌈

getdate β€” AME

that's it. that's the whole name section. "AME." bestie we report the facts, that's all it says. πŸ™ˆ

✨ SYNOPSIS ✨

[-dv][-n dec][-f format] [ra dec sys] itype2otype [date and/or time]

πŸ¦‹ DESCRIPTION πŸ¦‹

Convert date and time between various formats. that is literally the entire job description (AME) and honestly?? it ate. no notes.

here's the other way you can call it, when you're feeding it a file instead of a date on the command line:

[-dv][-n dec][-f format] itype2otype @file

πŸŽ€ itype β€” the format you're coming FROM

  • 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 β€” the format you're going TO

  • 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
  • sec β€” fractional arcseconds

πŸ“‚ the @file situation πŸ“‚

  • First one or two columns are in itype format
  • ra dec sys: Need for Heliocentric conversions

that second bit is important, bestie β€” you only need it when you're doing the Heliocentric conversions, so don't skip it if that's your vibe. πŸ”₯

πŸ”§ the flags, in order, all of them

  • -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
  • -m β€” Replace numeric month with English abbreviation
  • -n num β€” Number of decimal places in sec, epoch, JD
  • -s days β€” Number of days to subtract
  • -t β€” Print time without date
  • -v β€” Verbose

that's the whole page, bestie, every last letter of it. go forth and getdate. 🫢

source: getdate EB_SOURCE β€” dated February 2026. love that for us. mwah. πŸ’‹

πŸ“¦ where this page comes from