Calendar date to Julian day - DEPRECATED
jd = CL_dat_cal2jd(year,month,day [,hour,minute,second]) jd = CL_dat_cal2jd(cal) // cal=[year;month;day [;hour;minute;second]]
This function is deprecated.
Replacement function: CL_dat_convert
Converts a calendar date into a Julian day.
Notes:
- Years are counted astronomically. The year 1-BC is 0, 2-BC is -1, ...
- The dates are relative to the Julian calendar before 4th october 1582 24h (Julian calendar), and to the Gregorian calendar after 5th October 1582 0h (Julian calendar), that is, after 15th october 1582 0h (Gregorian calendar).
- Julian day 0 is 1st January -4712 12h (Julian calendar)
See Dates and time scales for more details.
(integer) Year. (1xN)
(integer in [1,12]) Month. (1xN).
(integer in [1,31]) Day. (1xN)
(optional) Hours. Default is 0. (1xN or 1x1)
(optional) Minutes. Default is 0. (1xN or 1x1)
(optional) Seconds. Default is 0. (1xN or 1x1)
Julian day (number of days since 1st January -4712, 12h) (1xN)
CNES - DCT/SB
1) Jean Meeus - Astronomical Algorithms - 1991
2) IMCCE: http://www.imcce.fr