[ library(calendar) | Reference Manual | Alphabetic Index ]

time_to_mjd(++HMS, ?MJD)

Convert the time in H:M:S form to a float MJD <1.0
HMS
A structure of the form H:M:S or H:M, where H and M are integers and S is a float
MJD
Variable or float

Description

Returns a float MJD <1.0 encoding the time of day (UTC/GMT). This can be added to an integral day number to obtain a full MJD.