dayofyear mongodb
{ $dayOfYear: { date: new Date("Jan 7, 2003") } }
// result: 7
{ $dayOfYear: {
date: new Date("August 14, 2011"),
timezone: "America/Chicago"
} }
// result: 226
Tiny Coders