title: Converting milliseconds to a date (jQuery/JavaScript)
body: <p>I'm a bit of a rambler, but I'll try to keep this clear -</p>
  
  <p>I'm bored, so I'm working on a <strong>"shoutbox"</strong>, and I'm a little confused over one thing. I want to get the time that a message is entered, and I want to make sure I'm getting the server time, or at least make sure I'm not getting the local time of the user. I know it doesn't matter, since this thing won't be used by anyone besides me, but I want to be thorough. I've looked around and tested a few things, and I think the only way to do this is to get the milliseconds since <strong>January 1, 1970 00:00:00 UTC</strong>, since that'd be the same for everyone.</p>
  
  <p>I'm doing that like so:</p>
  
  <pre><code>var time = new Date();
  var time = time.getTime();
  </code></pre>
  
  <p>That returns a number like <code>1294862756114</code>.</p>
  
  <p>Is there a way to convert <code>1294862756114</code> to a more readable date, like <code>DD/MM/YYYY HH:MM:SS</code>?</p>
  
  <p>So, basically, I'm looking for JavaScript's equivalent of PHP's <code>date();</code> function.</p>