If you have two times using 24-hour format, then simply compare the two strings.
NSString *time1String = ... // some time in HH:mm
NSString *time2String = ... // some time in HH:mm
if ([time1String compare:time2String] == NSOrderedDescending) {
} else {
}
The string comparison will work as long as the hour and minutes are both two digits and the hour is in 24 hour format.