There may be a better way (and I am looking at this question to see if there is), but this is what I am currently using:
+ (NSDate *)offsetFromDate:(NSDate *)fromDate withDays:(int)days { NSTimeInterval timeInterval = (days * 86400); NSDate *date = [[NSDate alloc] initWithTimeInterval:timeInterval sinceDate:fromDate]; return date; }
If you specify Google for the number of seconds per day, you will get the value 86400.
source share