Transforms a Julian Date (JD) in the calendar date and time.
[year, month, day, hour] = dat_jd2cal(jd) [year, month, day, hour, minute, second] = dat_jd2cal(jd) cal = dat_jd2cal(jd)
Julian Date (JD)
year, integer (1xn)
month, integer (1xn)
day, integer (1xn)
daytime, houres, minutes, seconds (1xn)
date as vector ([nx3]
or
[nx6]
) or matrix of vectors. [year;
month; day; [hour; minute; second]]
Converts a Julian Date (JD) in a calendar date.
Attention: Dates before 4. Okt. 1582 24h are counted to the julian calendar and after to the gregorian calendar, which means they are after the 15. Okt 1582.
(matrix aware)
Meeus, J.: Astronomical Algorithms, Willmann-Bell, Richmond 2000 (2nd ed., 2nd printing).