title: Convert Microsoft JSON Date to Local DateTime Using Moment JS Only
body: <p>JSON Date: '/Date(1373428800000)/'
  End Result: 7/9/2013 8:00 PM EST</p>
  
  <p>Currently I do it in 3 steps:</p>
  
  <pre><code>var a = cleanJsonDate('JsonDate');
  var b = formatDate(a); // 7/10/2013 12:00 AM
  var c = moment.utc(b); // 7/9/2013 8:00 PM
  return c;
  </code></pre>
  
  <p>Is it possible to accomplish the same result using moment js only?</p>
  
  <p>----Update-----</p>
  
  <p>Combining @ThisClark &amp; @Matt answers. I came as close as possible to the goal; however, the 'h' format does not work for some reason, I still get 20.00.00 instead of 8:00</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var m = moment.utc(moment('/Date(1373428800000)/').format('M/D/YYYY h:m A')).toDate();
  alert(m);</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="http://momentjs.com/downloads/moment.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>