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