I\'m quite confused about this one.
I want to grab, current time, than according to condition, I want to add the required time, to the current time. for example.
'addTimeInterval:' is deprecated
You can use this now
mydate=[NSDate date]; mydate = [mydate dateByAddingTimeInterval:XXX]; //XXX in seconds