CALDATM
Name
caldatm
Purpose
Find year, month, day, hour, minute, second from Julian Date.
Category
Astronomy
Calling Sequence
caldatm, jd, y, m, d, hour, min, sec
Inputs
jd = Julian day number (like 2447000.5). in
Keyword Parameters
Outputs
y = year (like 1987). out
m = month number (like 7). out
d = day of month (like 23). out
hour = hour of day (like 12). out
min = minute of day (like 0). out
sec = second of day (liek 0.0). out
Common Blocks
Notes
This routine is based on the formulas given in "Astronomical Formulae for
Calculators," 2nd. ed., by Jean Meeus on pages 23-29. This algorithm
works for any date in either the Julian calendar (before 1582 October 4)
or the Gregorian calendar except for negative Julian Day numbers.
Modification History
M. Buie, 1991 Oct 10, Lowell Observatory
DWL, August 6, 1993, Modifications to operate with vector input.