title: How do I convert a 13 digit number into a date without showing the time using jQuery or JavaScript?
body: <p>So I'm trying to convert the following 13 digit to a readable date in the format of: m/dd/yyyy but the year is outputting incorrectly. I get the following output 6/3/48790. I would also like to only show the Month year and date, not the time.</p>
  
  <p>My example code is</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var data = {
    "date_created": "1477509774000"
  };
  var date = new Date(parseInt(data.date_created, 10) * 1000);
  // example representations
  alert(date);
  alert(date.toLocaleString());</code></pre>
  </div>
  </div>
  </p>