iOS: Compare two less or equal NSDates
I want to compare two dates and do something when one is less or equal
than the other, I tried to do it this way:
if ([self.system.systemInbetriebnahme compare:date] == NSOrderedDescending)
return nil;
But this removes the case when they are both equal is there a way to
compare dates with >= ?
Thank you
No comments:
Post a Comment