Specific date after number of dates
问题 Currently I'm working on NSDate and NSDateFormatter . My issue is I need to find the date after 100 days of the user specified date. Currently I'm using this hard-coded string for finding a future date. calendar.maximumDate = [self.dateFormatter dateFromString:@"20/08/2015"]; But it is not correct way and not work with user specified date. Is there anyway to achieve this ? Please help me. Thanks in advance. 回答1: Like this: // How much day to add int addDaysCount = 100; // Create and