Check the documentation, or the calendar. It's not an int, it's a long. On Jul 2, 6:41 am, Zookie <[email protected]> wrote: > I'm pulling the call log and trying to convert the date of the call to > something we can read but the int being returned is a negative number. > > int dateColumn = > c.getColumnIndex(android.provider.CallLog.Calls.DATE); > > int callDate = c.getInt(dateColumn); > > callDate will be a number like: -1856117447 > > So, when I convert I still end up with a date like Dec 10 1969 > > Regards, > Zookie
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

