Got one, not sure it's exactly what you want, but it could help some of you, (helped me!!)
My goal was to know if, between two date (less than 24h difference) i had a "overday" day+1:
i did the following (a bit archaic i admit)
NSDate *startDate = ...
NSDate *endDate = ...
NSDate already formatted by another NSDateFormatter (this one is just for this purpose :)
NSDateFormatter *dayFormater = [[NSDateFormatter alloc]init];
[dayFormater setDateFormat:@"dd"];
int startDateDay = [[dayFormater stringFromDate:startDate]intValue];
int endDateDay = [[dayFormater stringFromDate:dateOn]intValue];
if (endDateDay > startDateDay) {
NSLog(@"day+1");
} else {
NSLog(@"same day");
}
maybe something like this already exist, but didn't find it
Tim