next up previous 269
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 adapted from Hatcher, Q.Jl.R.astr.Soc. (1984) 25, 53-55.


next up previous 269
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
19 December 2005
E-mail:ussc@star.rl.ac.uk

Copyright © 2011 Science and Technology Facilities Council