Learn R Programming

astroFns (version 4.2-1)

jd2ymd: JD to year, month, date

Description

Convert Julian date to UT1 year, month, and date.

Arguments

Value

Date for 0h, UT1, with class POSIXct

References

Fliegel & Van Flandern, Comm. ACM 10, 657 (1968), whose algorithm uses FORTRAN integer mathematics

See Also

weekdays, dmjd2ut

Examples

Run this code
# NOT RUN {
jd2ymd(2456092.5) # returns 0h date, 2012-06-14 UT
jd2ymd(2456092.6) # returns 0h date, 2012-06-14 UT
jd2ymd(2456092.4) # returns 0h date, 2012-06-13 UT
# }

Run the code above in your browser using DataLab