title: Possible to compare date strings in mongodb?
body: <p>I have a collection that contains documents with a date attribute like so:</p>
  
  <pre><code>{
     title: "whatever",
     created: ISODate("2013-05-27T03:36:50Z")
  }
  </code></pre>
  
  <p>I would like to select records that were created on a certain day.  I was hoping I could use <code>toDateString()</code> and compare the values but when I do a search like the one below:</p>
  
  <p>db.myCollection.find({ 'created.toDateString()': new Date('05/27/2013').toDateString() }).pretty()</p>
  
  <p>But this does not work.  Is there any way to do what I am attempting above?</p>