Conversion of Epoch Date to Human Readable format in android
<p>I have a problem that I am having an Epoch date which is coming from Web Services, I want to display it in Human Readable format as, July 12, 2012, but my code always shows 16/01/1970 for any Epoch Date. I don't know where I am Wrong or How to convert Epoch Date to Date in Java. Please suggest me any solution regarding the same.</p>

<p><strong>Code:</strong></p>

<pre><code>Date.setText(new java.text.SimpleDateFormat("dd/MM/yyyy").format(new java.util.Date(Long.parseLong(newsDetail.getDate_Posted()))));
</code></pre>

<p>Thanks in advance.</p>
