Parse custom Date from string
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4829569/help-parsing-iso-8601-date-in-javascript">Help parsing ISO 8601 date in Javascript</a>  </p>
</blockquote>



<p>I have a set of strings, all in similar form: 2012-05-31T00:00:00.0000000</p>

<p>All I want to pull from this is the year (2012), the month (05), and the day (31), then construct a javascript Date object from this data.</p>

<p>What is the best way to parse this data?</p>
