javascript/jquery convert utc to local time in short format
<p>So I'm trying to convert a UTC time to the clients local time in short format. I am using the following code:</p>

<pre><code>var date = new Date(call.Timestamp);
date.toLocaleString()
</code></pre>

<p>And I get the output like this on the screen:</p>

<blockquote>
  <p>Thu Sep 13 2012 14:33:15 GMT+1000 (AUS Eastern Standard Time)</p>
</blockquote>

<p>What I would like to do is once I have converted it to the date object to display the short format:
dd/mm/yyyy hh:mm:ss or mm/dd/yyyy hh:mm:ss depending on what timezone they are in.
Is there a standard way I can do this in javascript? Does anyone know of a library package that can do this for me?</p>

<p>I have also tried:</p>

<pre><code>date.toLocaleDateString() + ' ' + date.toLocaleTimeString()
</code></pre>

<p>but the date string still outputs: "Thursday, September 13, 2012" rather than </p>
