• 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: Monitoring system time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monitoring system time


  • Subject: Re: Monitoring system time
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 30 May 2005 09:56:15 -0400
  • Organization: Rogue Research

On 2005-05-29 14:27, Jerry Brace said:

>Could anyone give me information on the best way to monitor the
>system date/time and trigger an event?
>Basically I have some alarm records that have date and time stored -
>when the system date/time matches one of the records I need to fire
>an event.

NSTimer is nice and all, but if 1) the computer sleeps 2) the user
changes the date in sys prefs 3) the computer adjusts the time for
daylight savings time  then your NSTimers will need to be adjusted.  So
you must watch for wake and date change notifications.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Monitoring system time
      • From: John Timmer <email@hidden>
References: 
 >Monitoring system time (From: Jerry Brace <email@hidden>)

  • Prev by Date: Re: Core Data and Java - anyone?
  • Next by Date: Re: NSArrayController question...
  • Previous by thread: Re: Monitoring system time
  • Next by thread: Re: Monitoring system time
  • Index(es):
    • Date
    • Thread