Navigation
This version of the documentation is archived and no longer supported.
Reference
>
Operators
>
Aggregation Framework Operators
>
Date Aggregation Operators
>
$dayOfYear (aggregation)
$dayOfYear (aggregation)
¶
$dayOfYear
¶
Takes a date and returns the day of the year as a number between 1 and 366.
←
Date Aggregation Operators
$dayOfMonth (aggregation)
→