Re: UpTime broken?
Re: UpTime broken?
- Subject: Re: UpTime broken?
- From: Andrew Farmer <email@hidden>
- Date: Tue, 1 Nov 2005 10:57:05 -0800
On 01 Nov 05, at 09:24, David wrote:
The currentDate is correct if the computer has an uptime of less
than 1 day. After that it is off by aprox. 2 hours and may get
worse the longer the computer is on.
Are you sure your computer isn't going to sleep? It's possible that
UpTime might not count time spent in sleep, while sysctl
(KERN_BOOTTIME) just tells you the starting time.
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
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