DayOfYear

Returns the day of the year (from 1 to 366) for the date entered as a parameter.

Syntax

DayOfYear(date)
date = date for which you want to retrieve the day of the year

Remarks

If you want to retrieve the current day of the year, you can use the Now function as a parameter.
For the day of the week, use DayOfWeek.

Example

DayOfYear(Now()) = current day, so for February 1, it will return 32

Classification

DateTime