Re: NSDate in a Range
Re: NSDate in a Range
- Subject: Re: NSDate in a Range
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 6 Jul 2006 16:14:29 -0700
On 7/6/06, malcom <email@hidden> wrote:
How is possible to check if an NSDate is inside a range between date A
and date B?
One option is to use -[NSDate laterDate:] and -[NSDate earlierDate:].
Another option is to get the time interval since the same reference
data and do a numerical comparison.
-Shawn
_______________________________________________
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