• 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: UpTime broken?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: UpTime broken?
      • From: David <email@hidden>
References: 
 >UpTime broken? (From: David <email@hidden>)

  • Prev by Date: Re: Objective C++ memory management
  • Next by Date: IBPalette problem
  • Previous by thread: UpTime broken?
  • Next by thread: Re: UpTime broken?
  • Index(es):
    • Date
    • Thread