Convert timestamp to date in Android?
<p>I am implementing one android application in which I want to convert timestamp to date but I could not get success.
I have tried below things.
Please check it if I am doing something wrong.</p>

<p>I am passing this value :</p>

<pre><code>myTimestamp=1328015914;
DateFormat.getDateFormat(mContext).format(new Date(myTimestamp * 1000));
</code></pre>

<p>It returns <code>11/1/1970</code> but its wrong.</p>

<p>Please help me for this query.</p>

<p>Thanks
Manthan Dalal</p>
