next up previous
Next: SLA_DM2AV - Rotation Matrix to Axial Vector
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_DJCAL - MJD to Gregorian for Output

SLA_DJCL - MJD to Year,Month,Day,Frac   

ACTION:
Modified Julian Date to Gregorian year, month, day, and fraction of a day.

CALL:
CALL sla_DJCL (DJM, IY, IM, ID, FD, J)

GIVEN:

DJM D modified Julian Date (JD-2400000.5)

RETURNED:

IY I year
IM I month
ID I day
FD D fraction of day
J I status:
0 = OK
-1 = unacceptable date (before 4701BC March 1)

REFERENCE:
The algorithm is derived from that of Hatcher, Q.Jl.R.astr.Soc. (1984) 25, 53-55.


next up previous
Next: SLA_DM2AV - Rotation Matrix to Axial Vector
Up: SUBPROGRAM SPECIFICATIONS
Previous: SLA_DJCAL - MJD to Gregorian for Output

SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
12 October 1999
E-mail:ptw@star.rl.ac.uk