Skip navigation.
 
mlRe: Hardware Clock
FROM : Damien Bobillot
DATE : Sat Jul 08 00:17:36 2006

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

Related mailsAuthorDate
mlHardware Clock Gerriet M. Denkman… Jul 7, 11:26
mlRe: Hardware Clock Damien Bobillot Jul 8, 00:17
mlRe: Hardware Clock Shawn Erickson Jul 8, 00:21
mlRe: Hardware Clock Gerriet M. Denkman… Jul 8, 07:38
mlRe: Hardware Clock Ed Wynne Jul 8, 08:48
mlRe: Hardware Clock Gerriet M. Denkman… Jul 8, 13:00
mlRe: Hardware Clock Ed Wynne Jul 8, 19:59