Time Question (newbie)
Time Question (newbie)
- Subject: Time Question (newbie)
- From: Tom Gray <email@hidden>
- Date: Sun, 19 Jan 2003 18:48:11 -0500
Hi Guys,
As always, thanks!
I am trying to add a cumulative time or running time to my application.
Part of my "pay the shareware fee" nag.
I have seen quite a few "Date" objects in Cocoa but I have not found a
good way to get a cumulative or elapsed time object. (I would like to
display a clock in hhh:mm format or dd:hh:mm format.)
Currently I am noting the date when the application launches and quits.
I get the time interval between the launch and quit (a double or
NSTimeInterval) and save that double in my prefs.
I now want to format and display that elapsed time. I can't seem to
find a Cocoa class that handles elapsed time.
Any ideas?
Tom Gray
-------------
email@hidden
or
email@hidden
_______________________________________________
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.