title: Date formatting in moment.js , weird date values
body: <p>So I have 2 kinds of date coming from json.</p>
  
  <pre><code>m = '201811';
  n = '/Date(1433030400000)/';
  </code></pre>
  
  <p>I am trying to use moment.js to format time, but I can not find appropriate methods for it I guess.</p>
  
  <pre><code>moment(m).format('YYYY DD') //"201811 01"
  </code></pre>
  
  <p>and the n value I can not understand it leads to this output :</p>
  
  <pre><code>moment(m).format('YYYY DD')//"2015 31"
  </code></pre>