Re: Formatting integer value
Re: Formatting integer value
- Subject: Re: Formatting integer value
- From: "M. Uli Kusterer" <email@hidden>
- Date: Tue, 15 Feb 2005 14:08:03 +0100
Folks,
I think I know an even easier way to get the hours, minutes etc. out
of this time. IIRC the OP said the entire value was milliseconds?
Aren't there some timestamp APIs that take milliseconds? (Maybe that
was Carbon, not sure anymore whether NSDate also accepts those) So,
I'd guess one could just treat this as a date and extract the number
of the day and the time as time differences.
Would be a little dangerous when we go over 350 days, though, it
could start factoring in leap years and odd stuff like that...
At 13:09 Uhr +0100 15.02.2005, Andreas Mayer wrote:
Am 15. Feb 2005 um 12:40 Uhr schrieb M. Uli Kusterer:
Too bad we don't have metric time yet ... would make programming a
lot easier, wouldn't it? ;-)
Just display seconds only and it is as metric as it can get. :-)
At 86,400 seconds per day???
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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