Source: utils/date_time/jd2doy.pro
jd2doy
Return, [y,d,h,m,s] given a julian day.
Usage:
time = jd2doy(jday)
Argument:
jd double input The julian day number to be converted.
Restrictions:
Only works to the nearest millisecond: because of a cop-out
work around for a tendency to return exact hours
(e.g. 3:00:00.00) as (e.g.) 2:59:59.999998. It's not pretty
but it works.
History:
Original: 3/12/99; SJT