DAY_OF_YEAR function returns an array of integers containing the day of the year for each element of an array of IDLDT date/time variables. The result is an array of integers in the range 1-365 (1-366 for leap years).
Result = DAY_OF_YEAR(
An array of type IDLDT (the IDL date/time structure).
PRINT, DAY_OF_YEAR(TODAY()) ;
Print the day of year for the day this was written, using the