• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Date-Only NSTimestamps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Date-Only NSTimestamps
      • From: David den Boer <email@hidden>
References: 
 >Date-Only NSTimestamps (From: David Avendasora <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Chuck Hill <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Simon McLean <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Chuck Hill <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Simon McLean <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Andrew Lindesay <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Chuck Hill <email@hidden>)
 >Re: Date-Only NSTimestamps (From: Simon McLean <email@hidden>)
 >Re: Date-Only NSTimestamps (From: "Mr. Pierre Frisch" <email@hidden>)

  • Prev by Date: Re: Date-Only NSTimestamps
  • Next by Date: Re: Class 'Session' exists but is not a subclass of WOSession?
  • Previous by thread: Re: Date-Only NSTimestamps
  • Next by thread: Re: Date-Only NSTimestamps
  • Index(es):
    • Date
    • Thread