title: Generate WCF JSON format Date with moment.js or another javascript library
body: <p>I am consuming a WCF Service in Javascript and need to play around with dates.</p>
  
  <p>I was looking around for some nice DateTime handlers for the format the DataContractJsonSerializer generates { "date": "/Date(1260597600000-0600)/" } and found moment.js. moment.js is really excellent to consume this date format, handles the format including the timezone. </p>
  
  <p>What I need now is generate the WCF date format from a Javascript or moment Date to send dates with timezones in the request on my POST method and looking in the documentation of moment.js couldn't find anything that has the output I need.</p>
  
  <p>Any idea how to achieve this with moment.js or any other js library?</p>
  
  <p>Thanks.</p>