FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date. For more details, review the migration guide. Contact support@fauna.com with any questions. |
DayOfYear
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
DayOfYear( timestamp )
day_of_year( timestamp )
DayOfYear( timestamp )
DayOfYear( timestamp )
DayOfYear( timestamp )
Returns
A Number which represents the value of the day of the year, in the range 1 to 366, from the provided timestamp.
Examples
The following query returns the day of the year from a timestamp:
119
119
119
LongV(119)
119
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!