• 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 Math Question and Daylight Savings Time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date Math Question and Daylight Savings Time


  • Subject: Re: Date Math Question and Daylight Savings Time
  • From: "Clive Roberts" <email@hidden>
  • Date: Thu, 20 Jan 2005 18:42:41 -0000


> Hello All -
>
> I am doing some date math calculations and during daylight savings time
> my calculations seems to be off a day.

have you set NSTimeZone eg
NSTimeZone tz = NSTimeZoneWithName("GMT", true);

where GMT should be your local setting.
I have had the wrong count of days occuring when this is set incorrectly.


Clive Roberts

>
> Any thoughts on why?
>
> - James Cicenia
>
>  _______________________________________________
> 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




 _______________________________________________
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

References: 
 >Date Math Question and Daylight Savings Time (From: James Cicenia <email@hidden>)

  • Prev by Date: Date Math Question and Daylight Savings Time
  • Next by Date: Re: Date Math Question and Daylight Savings Time
  • Previous by thread: Date Math Question and Daylight Savings Time
  • Next by thread: Re: Date Math Question and Daylight Savings Time
  • Index(es):
    • Date
    • Thread