Re: Daylight Savings Time
Re: Daylight Savings Time
- Subject: Re: Daylight Savings Time
- From: Deborah Goldsmith <email@hidden>
- Date: Wed, 15 Apr 2009 16:04:22 -0700
There is also [NSTimeZone nextDaylightSavingTimeTransition] and
[NSTimeZone nextDaylightSavingTimeTransitionAfterDate:], both
available in 10.5 or later.
Deborah Goldsmith
Apple Inc.
email@hidden
On Apr 15, 2009, at 2:41 PM, Gregory Weston wrote:
Greg Robertson wrote:
Basically I would like to display records for a week duration but I
am
unsure how to handle daylight savings time. Is there a way to see if
daylight savings time has or will occur?
If you want to see whether a DST switch happens during a given
interval, just subtract the dates. If the NSTimeInterval doesn't
come out to some multiple of 24 hours, a switch happened.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden