Which of the following returns the hour for a date as a number between 0 and 23?
(a) $minute
(b) $hour
(c) $seconds
(d) All of the mentioned
This question was addressed to me during an internship interview.
Question is from Pipeline Operators topic in division Aggregation Concepts and Aggregation Mechanics of MongoDB