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
2009-12-08 11:04:37
thanks Alex. It's perfectly working file.
Shakti
2009-12-09 09:09:43
Hi Shakthi, If you got the answer, mark the answer as accepted.
Krishnan
2010-08-26 11:48:54