title: Javascript: how to convert epoch to dd-mm-yyyy
body: <p>i have an epoch time: x = 1383483902000</p>
  
  <p>I am trying to get a date like: dd-mm-yyyy and want to do this without additional library.</p>
  
  <p>I have tried several ways and my last method end up like :</p>
  
  <pre><code>var date = new Date(Math.round(Number(x)));
  </code></pre>
  
  <p>but i get an ugly thing like: sun nov 03 2013 14:05:02 GMT+01:00</p>