Result = DayOfYear(Date)Description
Returns the number of days elapsed since the beginning of the year of the specified date.
Date The date value from which to extract the number of days.
Returns the number of days since the beginning of the year. The result is always between 1 and 366.
Debug DayOfYear(Date(2002, 2, 1, 0, 0, 0)) ; Outputs '32'. (31 days for January + 1)
FormatDate(), Year(), Month(), Day(), Hour(), Minute(), Second()