I would use: Date date = new Date(); date.setTime(milliseconds);
and now from date you can read all: year, month, day, hour, min. and sec. Marcus pisze: > Hi, > > as I understand, the internal date-format is the time in millis, since > it is the format to store in sqlite and the format I get from > System.currentTimeMillis(). > > But how can I convert this back to a human readable format? Do I have > to use new Date(int) and then use a SimpleDateFormat? Or is there any > convinience method? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

