The 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).
PRINT, DAY_OF_YEAR(TODAY()) ;
Print the day of year for the day this was written, using the
TODAY function.