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