これらの 2 つの日付を NSDateComponents と結合しようとしています
"2012-09-03 00:00:00 +0000" & "1970-01-01 08:00:00 +0000"
私が得る次のコードで --> 2012-09-02 11:00:00 +0000
unsigned unitFlags = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit;
NSDateComponents *comps = [[NSCalendar currentCalendar] components:unitFlags fromDate:session.date];
NSDate *day3 = [[NSCalendar currentCalendar] dateFromComponents:comps];
unitFlags = NSHourCalendarUnit | NSMinuteCalendarUnit | NSSecondCalendarUnit;
comps = [[NSCalendar currentCalendar] components:unitFlags fromDate:session.start];
comps.timeZone = [NSTimeZone timeZoneWithName:@"UTC"];
day3 = [[NSCalendar currentCalendar] dateByAddingComponents:comps toDate:day3 options:0];