Which of the following returns year for particular date?
(a) $year
(b) $yearday
(c) $syearofmonth
(d) None of the mentioned
I got this question in homework.
My question is from Pipeline Operators topic in division Aggregation Concepts and Aggregation Mechanics of MongoDB