• 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: Hardware Clock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hardware Clock


  • Subject: Re: Hardware Clock
  • From: Damien Bobillot <email@hidden>
  • Date: Sat, 8 Jul 2006 00:17:36 +0200

Gerriet M. Denkmann wrote :

How can I read the hardware clock?
(Not the system clock as in NSDate or gettimeofday, but the thing which keeps the time when the computer is sleeping or turned off).

NSDate makes internally a call to gettimeofday. gettimeofday is a system call that read the hardware clock. It's far from sufficient in most cases. If you have a very specific need that is not meet by gettimeofday, explain it : otherwise nobody will be able to answer you.


--
Damien Bobillot

_______________________________________________
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


References: 
 >Hardware Clock (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Tables in TextView malformed after archiving and unarchiving
  • Next by Date: Re: NSCell mouse tracking best practices.
  • Previous by thread: Hardware Clock
  • Next by thread: Re: Hardware Clock
  • Index(es):
    • Date
    • Thread