DATE
Name
DATE
Purpose
Convert day-of-year to a DD-MMM-YYYY string
Calling Sequence
D_String = DATE(Year, day )
Inputs
Year - Integer scalar specifying the year. If the year contains only
two digits, then it is assumed to indicate the number of
years after 1900.
Day - Integer scalar giving number of days after Jan 0 of the
specified year. Can be larger than 366
Outputs
D_String - String giving date in format '13-MAR-1986'
Restrictions
Will not work for years before 100 AD
Example
IDL> print, date(1997,279)
'6-Oct-1997'
Modification History
D.M. fecit 24 October,1983
Work for years outside of the 19th century W. Landsman September 1997
Converted to IDL V5.0 W. Landsman September 1997