I have an NSDate and a duration. I need to get the time after the duration
NSDate
Given: The date is \"2010-02-24 12:30:00 -1000\" duration is 3600
Instead of using the deprecated addTimeInterval method, you can use the newer dateByAddingTimeInterval instance method of NSDate.
NSDate *newDate = [oldDate dateByAddingTimeInterval:2500];