IE javascript Engine rending NaN when conveting string to date
<p>I have a string consisting of '2013-04-05T00:00:00'. When I embed the below code into my js file Chakra (IE javascript engine) barfs. When I run this from the IE console it barfs. Every other browser I have tested on is fine. How can i make the below statement browser agnostic?</p>

<pre><code>var targetDate = new Date('2013-04-05T00:00:00');
alert(targetDate);
</code></pre>

<p>EDIT <br />
IE version 7,8 does not run</p>

<p>runs fine in ie 9+</p>

<p>EDIT#2</p>

<p>The reason this doesn't work is that IE 8,7 do not support ISO date times. You will either need to generate a Date object from a non ISO date time stamp.</p>
