The DAY_OF_WEEK function returns an array of integers containing the day of the week for each element of the input IDLDT date/time variable.The array of integers is in the range 0-6, with 0 indicating Sunday and 6 indicating Saturday. This routine uses the JULDAY function.
PRINT, DAY_OF_WEEK(TODAY()) ;
Print the day of the week for the day this was written (Friday), using the
TODAY function.