$minute
The$minute operator extracts the minute component from a date object (0-59).
Input
- A single date object
Output
- The minute component of the date as an integer (0-59)
Examples
Extract Minute from Date
30
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
$minute operator extracts the minute component from a date object (0-59).
{
"$minute": [
{
"$toDate": ["2023-01-15T10:30:00Z"]
}
]
}
30
{
"$minute": [
{
"$input": "event_date"
}
]
}
