Name

CL_dat_jd2cjd — Julian date to CNES Julian date

Calling Sequence

   cjd = CL_dat_jd2cjd(jd)
   
   

Description

  • This function converts a Julian date(number of fractionnal days since noon UT on January 1st 4713 BC) into a CNES Julian date (number of fractionnal days since January 1st 1950)

    The fractional part of jd (jd-int(jd)) gives the time of the day since noon UT as a decimal fraction of one day with 0.5 representing midnight UT.

    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

jd:

Julian date (number of fractionnal days since noon UT on January 1st 4713 BC) (1xN)

cjd:

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

Bibliography

1 Mecanique spatiale, CNES - Cepadues 1995, Chapitre 3, section 3.3.3 Les années

See also

CL_dat_cjd2jd, CL_dat_jd2cal

Authors

CNES - DCT/SB

Examples

// Example 1
CL_dat_jd2cjd([20000;20001])

// Example 2
jd=[2451546 2451000];
cjd = CL_dat_jd2cjd(jd);
jd2 = CL_dat_cjd2jd(cjd);