title: Reading browsing date and time in Android
body: <p>I am using the code below to access browser's history in Title, Url, Date and Time format; Title and Url works fine but while accessing Date and time it gives a long integer value. Can anyone suggest what changes I need to make in order to properly get the date and time?  </p>
  
  <pre><code>String sel = Browser.BookmarkColumns.BOOKMARK + " = 0";
  Cursor mCur = managedQuery(Browser.BOOKMARKS_URI, Browser.HISTORY_PROJECTION, sel, null, null);
  j = mCur.getCount();
  String[] mTitles = new String[j];
  String[] murls = new String[j];
  long[] date=new long[j];
  mCur.moveToFirst();
  i=j-1;
  
  if (mCur.moveToFirst() &amp;&amp; mCur.getCount() &gt; 0) {
    int titleIdx = mCur.getColumnIndex(Browser.BookmarkColumns.TITLE);
    int urlIdx = mCur.getColumnIndex(Browser.BookmarkColumns.URL);
    int dateIdx=mCur.getColumnIndex(Browser.BookmarkColumns.DATE);
  
    while (mCur.isAfterLast() == false ) {
      mTitles[i]=mCur.getString(titleIdx);
      murls[i]=mCur.getString(urlIdx); 
      date[i]=mCur.getLong(dateIdx);
      i--;
      mCur.moveToNext();
    }
  }
  </code></pre>