Table of contents
CSPICE_J1900 returns the double precision value for the Julian Date of
1899 DEC 31 12:00:00 (1900 JAN 0.5).
Given:
None.
the call:
j1900 = cspice_j1900( )
returns:
j1900 2415020.0, the Julian Date corresponding to 1899 DEC 31 12:00:00
(1900 JAN 0.5).
help, j1900
DOUBLE = Scalar
None.
Any numerical results shown for this example may differ between
platforms as the results depend on the SPICE kernels used as input
and the machine specific arithmetic implementation.
1) Display the double precision value for the J1900 date.
Example code begins here.
PRO j1900_ex1
;;
;; Display the J1900 date in 16.8 floating point format
;;
print, format='("J1900 date: ",F16.8)', cspice_j1900()
END
When this program was executed on a Mac/Intel/IDL8.x/64-bit
platform, the output was:
J1900 date: 2415020.00000000
The function always returns the constant value shown above.
Error free.
None.
None.
ICY.REQ
TIME.REQ
None.
J. Diaz del Rio (ODC Space)
E.D. Wright (JPL)
-Icy Version 1.0.1, 01-JUN-2021 (JDR)
Edited the header to comply with NAIF standard. Added example's problem
statement and reformatted example's output.
Added -Parameters, -Exceptions, -Files, -Restrictions,
-Literature_References and -Author_and_Institution sections, and
completed -Particulars section.
Removed reference to the routine's corresponding CSPICE header from
-Abstract section.
Added argument's type and size information in the -I/O section.
-Icy Version 1.0.0, 16-JUN-2003 (EDW)
julian date of 1900.0 jan 0.5
|