Re: Date-Only NSTimestamps
Re: Date-Only NSTimestamps
- Subject: Re: Date-Only NSTimestamps
- From: Andrew Lindesay <email@hidden>
- Date: Fri, 4 Jan 2008 08:50:11 +1300
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden