tags:

views:

198

answers:

1

can anybody has sample code to show.

+1  A: 
NSDate * OneHourAway = [NSDate dateWithTimeIntervalSinceNow:3600]

The argument is in seconds. 3600 = 60 * 60 = 60 minutes = 1 hour

Alex Deem
thanks Alex. It's perfectly working file.
Shakti
Hi Shakthi, If you got the answer, mark the answer as accepted.
Krishnan