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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com