title: How to Convert .NET DateTime to JSON
body: <p>My WCF webservice is returning C# DateTime objects as JSON like this,</p>
  
  <p>"/Date(1293793200000+1300)/"</p>
  
  <p>I have found this,</p>
  
  <p><a href="https://stackoverflow.com/questions/1016847/converting-net-datetime-to-json">Converting .NET DateTime to JSON</a></p>
  
  <p>Which suggests this method for converting it using javascript,</p>
  
  <pre><code>var d = new Date();
  d.setTime(1245398693390);
  document.write(d);
  </code></pre>
  
  <p>The difference is that my date format has the +1300 in it, which seems to be my timezone, as I am +13 hours from GMT.</p>
  
  <p>Can I somehow modify my service to adjust the value to an absolute number of milliseconds from epoch or can the javascript be modified?</p>