Convert .NET UTC Time in JavaScript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/206384/how-to-format-a-json-date">How to format a JSON date?</a>  </p>
</blockquote>



<p>I have an HTML page that uses JQuery. My JQuery hits a .NET Web Service that does the following:</p>

<pre><code>return DateTime.UtcNow;
</code></pre>

<p>An example value returned looks like the following:</p>

<pre><code>"/Date(-62135578800000)/"
</code></pre>

<p>In my JavaScript, I'm try to parse the date as follows:</p>

<pre><code>var lastOrderDate = GetValueFromService();
var d = new Date(parseInt(lastOrderDate));
alert(d);
</code></pre>

<p>When the alert statement is hit, I see "Invalid Date" in the alert window. What am I doing wrong?</p>
