Date.DayOfYear

Syntax

Date.DayOfYear(dateTime as any) as nullable number

About

Returns a number representing the day of the year in the provided date, datetime, or datetimezone value, dateTime.

Example 1

The day of the year for March 1st, 2011.

Usage

Date.DayOfYear(#date(2011, 03, 01))

Output

60