Hello;

I jotted-up some notes about how I handle dates, timestamps and timezones that might be of interest in the context of this thread and mirrors Pierre's comment below. See section 0.5.21 in the following document;

        http://homepage.mac.com/andrewlindesay/tmp/LEWOStuffOverview.pdf

cheers.

Because of this, storing any date in local time instead of GMT is likely to leads to disappointment. There is no guarantee that the time zone you used to store your date will be the same than the one you used to retrieve it. I fact there is a good possibility that this will have changed under your feet. Typically each revision of the JVM includes a new version of the time zone database. The only safe way of storing dates is GMT as this is by definition guaranteed not to change.

___
Andrew Lindesay
technology : www.lindesay.co.nz
business : www.silvereye.co.nz



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to