Convert greg to JD astronomical. At first it converts to UTC.

jd_fromdate(date)

Arguments

date

Examples

if (FALSE) {
d0 <- ymd_hms('2000/01/01 15:00:00', tz='Europe/Moscow')
jd1 <- jd_fromdate(d0)
jd1
}