title: Convert String to Date in MongoDB
body: <p>How do I convert a String like "11/21/2012" to Date in MongoDB?</p>
  
  <p>I tried the following</p>
  
  <pre><code>obj.as_from = ISODate("11/21/2012");
  </code></pre>
  
  <p>and got this error</p>
  
  <blockquote>
    <p>uncaught exception: invalid ISO date</p>
  </blockquote>
  
  <p>Is there a simple way to convert the string above?</p>