- Reference >
- Operators >
- Aggregation Pipeline Operators >
- Date Aggregation Operators >
- $minute (aggregation)
$minute (aggregation)¶
On this page
Definition¶
-
$minute
¶ Returns the minute portion of a date as a number between 0 and 59.
The
$minute
expression has the following syntax:The argument can be any expression as long as it resolves to a date. For more information on expressions, see Expressions.