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 :myTimestamp=1328015914</p>

<p>DateFormat.getDateFormat(mContext).format(new Date(myTimestamp * 1000))</p>

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

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

<p>Thanks
Manthan Dalal</p>
