Try it Out
Drivers
Downloads
Community
Blog
OPTIONS
Version
Select Version
2.6 (current)
2.4
2.2
Formats
HTML
PDF
EPUB
Contribute
Report a Problem
Edit on Github
Reference
>
Operators
>
Aggregation Framework Operators
>
Date Aggregation Operators
>
$second (aggregation)
$second (aggregation)
¶
$second
¶
Takes a date and returns the second between 0 and 59, but can be 60 to account for leap seconds.
←
$minute (aggregation)
$millisecond (aggregation)
→
ON THIS PAGE
$second (aggregation)
Report a Problem