Skip to main content
Version: Next

parseObsDateToMjdUtc

Callable

  • parseObsDateToMjdUtc(dateObs: string, timesys?: string): number

  • Parses a FITS DATE-OBS string expressed in the given TIMESYS scale and returns the corresponding MJD in UTC. Returns NaN when the date string or time scale cannot be interpreted.


    Parameters

    • dateObs: string
    • optionaltimesys: string

    Returns number