try using android.text.format.DateUtils.formatDateTime(Context context, long millis, int flags) also look at /packages/apps/Mms/src/com/android/mms/ui/ MessageUtils.java : formatTimeStampString()
On Apr 30, 1:03 pm, "[email protected]" <[email protected]> wrote: > I am using contentProvider to retrieve old sms. And for the column > "Date", I got a big number, like 1241077422384. Can anyone tell me how > to translate this into readable date and time? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

