title: Using $dayOfYear on method find() with MongoDB
body: <p>I need to do a query where i can get all row with the year using  MongoDB.</p>
  
  
  
  <p>Row: </p>
  
  <pre class="lang-js prettyprint-override"><code>{
      "_id" : ObjectId("53a3733dfbea7787f4b4e8f6"),
      "_class" : "demo.model.User",
      "name" : "Tiare",
      "created" : ISODate("2014-06-19T23:33:17.000Z")
  }
  </code></pre>
  
  <p>Example: </p>
  
  <pre class="lang-js prettyprint-override"><code>db.user.find({"created" : {$year : "2014"}})
  db.user.find({"created" : {$dayOfYear : "170"}})
  </code></pre>