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