• 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: Newbie simple question - Get Time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie simple question - Get Time


  • Subject: Re: Newbie simple question - Get Time
  • From: "Sebastien TOPIN" <email@hidden>
  • Date: Wed, 9 Apr 2003 10:31:00 +0200

I found a function named TickCount(). I do not know how accurate it is, but
it enables me to get enough accuracy for 1/10 of seconds.

Thanks.
----- Original Message -----
From: "Thomas Deniau" <email@hidden>
To: "Sebastien TOPIN" <email@hidden>
Sent: Wednesday, April 09, 2003 10:22 AM
Subject: Re: Newbie simple question - Get Time


Le 9/04/03 9:27, Sebastien TOPIN disait :

> I just need to know how to get the current time with Cocoa. I want to
measure
> time used for a calculation.

Try the standard UNIX time(NULL) or look at the NSDate documentation.
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/Foundation/ObjC_c
lassic/Classes/NSDate.html

--
Je ne suis pas capable d'entrer dans mon logiciel Outlook,car a chaque
fois que j'essais je suis obligi d'y aller de manihre autonome.
-+- AL in : Guide du Neuneu Usenetien - Frappez avant d'entrer -+-
_______________________________________________
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.

  • Follow-Ups:
    • Re: Newbie simple question - Get Time
      • From: Hasan Diwan <email@hidden>
  • Prev by Date: Re: Newbie simple question - Get Time
  • Next by Date: Scroll bar not activated in a TableView
  • Previous by thread: Re: Newbie simple question - Get Time
  • Next by thread: Re: Newbie simple question - Get Time
  • Index(es):
    • Date
    • Thread