• 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
NSEvent's timeinterval
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSEvent's timeinterval


  • Subject: NSEvent's timeinterval
  • From: Calum Robinson <email@hidden>
  • Date: Tue, 3 Dec 2002 17:28:10 +0000

I have an NSEvent, and I want to calculate the time between it's timeinterval and the current time. However, NSEvent calculates it's time interval relative to the startup time , and NSDate only has methods that handle dates relative to the reference date (2001), or 1970.

Is there an easier way to do this without having to gettimeofday()? I may have missed something in the docs - in which case I apologise.


Calum Robinson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSTask vs. popen vs. System
  • Next by Date: Trouble with TIFFs...
  • Previous by thread: RE: cocoa-dev digest, Vol 2 #1610 - 14 msgs
  • Next by thread: Trouble with TIFFs...
  • Index(es):
    • Date
    • Thread