title: Date comparison in mongodb
body: <p>I want to retrieve all the documents after a particular date.
  My database has date as - <code>DateAdded:"2014-12-17 10:03:46.000Z"</code></p>
  
  <p>I wrote the following query-</p>
  
  <pre><code>db.collection.find({DateAdded:{"$lte":new Date("2015-06-17 10:03:46.000Z")}})
  </code></pre>
  
  <p>But the results doesn't fetches any record even though there are records for the dates upto <code>2015-06-24</code>.</p>