

InterviewSolution
Saved Bookmarks
1. |
$dayOfMonth returns the day of the month for a date as a number between ________________(a) 1 and 31(b) 1 and 30(c) 1 and 28(d) None of the mentionedI got this question in examination.I want to ask this question from Pipeline Operators in portion Aggregation Concepts and Aggregation Mechanics of MongoDB |
Answer» CORRECT option is (a) 1 and 31 To ELABORATE: The $dayOfMonth expression has the following SYNTAX: { $dayOfMonth:}. |
|