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

Daylight Savings Time


  • Subject: Daylight Savings Time
  • From: Greg Robertson <email@hidden>
  • Date: Wed, 15 Apr 2009 14:53:19 -0400

I have put together some code from various sites such as this one:
http://blog.coriolis.ch/2009/02/20/relative-date-to-now/

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?

The logic of my code is to display from Sunday to Saturday zeroing out
the current time to midnight but it does not appear to work well with
daylight savings which then sees one day overlapping another.

Anyone see or know of any code to deal with daylight savings time?

Thanks

Greg
_______________________________________________

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

  • Follow-Ups:
    • Re: Daylight Savings Time
      • From: Peter Duniho <email@hidden>
  • Prev by Date: Re: sending email form Cocoa app using Mail
  • Next by Date: Re: Master-detail interface, multiple selection, and mixed state checkbox state transitions
  • Previous by thread: Re: Master-detail interface, multiple selection, and mixed state checkbox state transitions
  • Next by thread: Re: Daylight Savings Time
  • Index(es):
    • Date
    • Thread