dayOfYear

Get the day-of-year.

Signature

dayOfYear: Number

Description

Extracts the day-of-year from the instance date.

Return value

Type Description

Number

Day of year.

Examples

Date('2023-02-10').dayOfYear
41

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!