Re: Adding 30 minutes to an NSDate
Re: Adding 30 minutes to an NSDate
- Subject: Re: Adding 30 minutes to an NSDate
- From: Andy Lee <email@hidden>
- Date: Wed, 20 Jul 2005 03:25:37 -0400
On Jul 20, 2005, at 3:14 AM, Uli Kusterer wrote:
is there a recommended way to add 30 minutes to an NSDate?
How about -addTimeInterval:?
addTimeInterval:
- (id)addTimeInterval:(NSTimeInterval)seconds
Returns an NSDate object that is set to a specified number of
seconds, seconds, relative to the receiver. Use a negative value
for seconds to have the returned object specify a date before the
receiver. The date returned might have a representation different
from the receiver’s.
--Andy
_______________________________________________
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