Data(timestamp).toLocaleString always return current date
<p>In this code</p>

<pre><code>long timestamp=1332782463298;
Date d=new Date(timestamp);
date=d.toLocaleString();
</code></pre>

<p><code>date</code> is always current date. Where is my mistake?</p>

<p>I've also tried SimpleDateFormat, but it still returns current date:</p>

<pre><code>date=new SimpleDateFormat("MM.dd.yyyy").format(d);
</code></pre>
