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.
Swift version:
let now = NSDate().timeIntervalSince1970 // current time let timeAfterXInterval = NSDate().dateByAddingTimeInterval(XXX).timeIntervalSince1970 // time after x sec
XXX is time in sec