Name

CL_dat_cjd2cal — CNES Julian date to calendar date

Calling Sequence

   [year,month,day,hour,minute,second]=CL_dat_cjd2cal(cjd)
   
   

Description

  • This function converts a CNES Julian Date (number of fractionnal days since January 1st 1950) to a calendar date.

    The fractional part of cjd (cjd-int(cjd)) gives the time of the day as a decimal fraction of one day with 0.5 representing midday UT.

  • Last update : 27/6/2008

Parameters

cjd:

CNES Julian Date (number of fractionnal days since January 1st 1950) (1xN)

year:

year (1xN)

month:

month (1xN)

day:

day (1xN)

hour:

hour (1xN)

minute:

minutes (1xN)

second:

seconds (1xN)

Authors

CNES - DCT/SB

Bibliography

1 CNES - MSLIB FORTRAN 90, Volume D (md_julien_calend)

See also

CL_dat_cal2cjd, CL_dat_cjd2jd

Examples

cjd = [6633 729.1 2400.2315 2282.0264];
[year,month,day,hour,minute,second] = CL_dat_cjd2cal(cjd);
cjd2 = CL_dat_cal2cjd(year,month,day,hour,minute,second);