• 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
How do I obtain a TimeStamp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I obtain a TimeStamp


  • Subject: How do I obtain a TimeStamp
  • From: John Draper <email@hidden>
  • Date: Wed, 30 Mar 2005 14:29:41 -0800

Hi,

Throughout my program,  I'm going to want to put "time stamps".
How do I do this?

I'm not concerned about the time units at this point,  I just need
to know how to do this..

In looking at the Docs,  I see that NSEvent has a "timestamp"
method,  but how do I get my application's NSEvent reference
to use it?

ie:

 time_stamp = [myEvent timestamp];

But how do I get "myEvent" to reference my current event object?

John
_______________________________________________
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: How do I obtain a TimeStamp
      • From: Ondra Cada <email@hidden>
    • Re: How do I obtain a TimeStamp
      • From: Ricky Sharp <email@hidden>
    • Re: How do I obtain a TimeStamp
      • From: j o a r <email@hidden>
  • Prev by Date: Punch a hole through a window other than your own?
  • Next by Date: Re: NSCopying is manual labor
  • Previous by thread: Re: Punch a hole through a window other than your own?
  • Next by thread: Re: How do I obtain a TimeStamp
  • Index(es):
    • Date
    • Thread