Name

CL_dat_cjd2mjd — CNES Julian date to Modified Julian date

Calling Sequence

   mjd = CL_dat_cjd2mjd(cjd)
   
   

Description

  • This function converts a CNES Julian date (number of fractionnal days since January 1st 1950) into a Modified Julian date (Julian date - 2400000.5)

    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)

mjd:

Modified Julian date (Julian date - 2400000.5) (1xN)

Bibliography

1 Mecanique spatiale, CNES - Cepadues 1995, Chapitre 3, section 3.3.3 Les annees

See also

CL_dat_mjd2cjd, CL_dat_cjd2cal, CL_dat_cjd2jd

Authors

CNES - DCT/SB

Examples

cjd=[20000.256,20001.897];
mjd = CL_dat_cjd2mjd(cjd);
cjd2 = CL_dat_mjd2cjd(mjd);