Source: utils/date_time/datecon.pro
DATECON
Given year and doy returns month and date.
Usage:
datecon, year, day, month, date
Arguments:
year int input Year (only needed to check for Leap
Year).
day int input Day of year.
month string output The month in which day lies.
date int output The day of the month of day.
Keywords:
monthno int output Month number.
Restrictions:
Year must be scalar. Fails for non-400 centuries. Out of range
day will crash.
History:
Original: 16/2/95; SJT