[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


DATE Source code in date.pro

DATE

Name
       DATE
Purpose
       Convert day-of-year to a DD-MMM-YYYY string
Calling Sequence
       D_String = DATE(Year, day )
Input Parameters
       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
Output Parameters
       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'
Revision 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

Last modified by pro2html on 2001 April 26 at 03:10 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically