This is documentation for an unreleased version. For the latest API, see version 6.0.0.
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.
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.