Good morning,

I'm a bit confusing on how android handles dates.

On tomcat:
log.debug(new SimpleDateFormat("HH:mm").format(new Date
(1244113800000l)));
results in: 13:10

On android:
Log.d(TAG, new SimpleDateFormat("HH:mm").format(new Date
(1244113800000l)));
results in: 11:10

The tomcat result is the right one.

Is androids Date class doing something spooky with the timezone. (my
default timezone on emulator says GMT+00:00)

Thanks,
Twan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to