Re: Formatting integer value
Re: Formatting integer value
- Subject: Re: Formatting integer value
- From: Andy Armstrong <email@hidden>
- Date: Tue, 15 Feb 2005 13:42:16 +0000
On 15 Feb 2005, at 13:08, M. Uli Kusterer wrote:
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.
I'm assuming this is a joke and I'm just missing the irony? If so,
sorry but...
WTF? When did we start needing an API to do simple integer arithmetic?
It's a time in milliseconds FFS!
What next? "I want to multiply two numbers together and maybe add a
third to them - can anyone tell me if there's an API for this kind of
thing?"
--
Andy Armstrong, hexten.net
_______________________________________________
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