Google News
logo
MongoDB - Quiz(MCQ)
$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 above

Correct Answer :   1 and 31


Explanation : The $dayOfMonth expression has the following syntax: { $dayOfMonth: }.

Advertisement