Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dayofmonth mongodb

{ $dayOfMonth: new Date("2016-01-01") }
// result: 1
{ $dayOfMonth: { date: new Date("Jan 7, 2003") } }
//result: 7
 
PREVIOUS NEXT
Tagged: #dayofmonth #mongodb
ADD COMMENT
Topic
Name
2+9 =