Dayofweek MongoDB

{ $dayOfWeek: new Date("2016-01-01") }
// result :6
Tiny Coders