dayofyear() Function

Returns the day number within the year.

Syntax

dayofyear( date )

date: (Date and Time) The date or datetime timestamp from which the day number will be extracted.

Returns

Integer

Examples

You can experiment with this function in the test box below.

Test Input

dayofyear(date(1957, 03, 14)) returns 73

FEEDBACK