Android: How can I get Date of call?
<p>I am trying get date of call but it's returning value of 1.1.1970(I think that is some default value).</p>

<p>Source code:</p>

<pre><code>Cursor c = getContentResolver().query(android.provider.CallLog.Calls.CONTENT_URI, null, null, null, null);

callDate = c.getColumnIndex("date");
int callDateInt = c.getInt(callDate);
String callDateStr = DateFormat.getDateInstance().format(callDateInt); 
</code></pre>

<p>callDateStr is returning 1.1.1970.How can i fix it please?</p>
