According to Apple docs for NSDate there is a class method:
+ (id)dateWithTimeIntervalSinceNow:(NSTimeInterval)seconds
60 seconds / minutes * 60 minutes / hour * 24 hours / day * 30 days should provide you with the required number of seconds.
So try:
NSDate *futureDate = [NSDate dateWithTimeIntervalSinceNow:60 * 60 * 24 * 30];
source
share