I would like to compare to NSDates but only with regard to hour and minute. The first date is given from an array, the second one is the current. I didn't arrive with this method:
NSDateComponents *components = [gregorian components:unitFlags
fromDate:date
toDate:currentDate options:0];
Any simple and good idea to solve my problem?
EDIT: User 'sunny' posted some further methods to solve my problem: How to compare two dates in Objective-C