title: Convert string from millisecond date to a readable date with jquery
body: <p>Im trying to convert a value of milliseconds to a readable date format.</p>
  
  <p>I have tried to search for the solution, but there is not an answer that fixes my problem.</p>
  
  <p>Im trying to get <code>val.start</code> to output like this <code>10.15</code>, now it is outputting: <code>1413363600000</code></p>
  
  <p>My code:</p>
  
  <pre><code>(function($) {
      var options = {
          //Some options removed for question
          onAfterEventsLoad: function(events) {
              if(!events) {
                  return;
              }
              var list = $('#eventlist');
              list.html('');
  
              $.each(events, function(key, val) {
                  $(document.createElement('li'))
  
                      .html(' + val.start + ': ' + val.title + ')
                      .appendTo(list);
              });
          },
      };
  
      var calendar = $('#calendar').calendar(options);
  
  }(jQuery));
  </code></pre>
  
  <p>I have tried to use momentjs like this:</p>
  
  <pre><code>var start_date = moment.unix(val.start).format("MM.DD");
  </code></pre>
  
  <p>But this is giving the wrong date: <code>09.17</code> (should be <code>10.15</code>)</p>