Search code examples
iphonensdatenstimeinterval

NSTimeInterval 15mins before


I have one variable startDate which is in NSTimeInterval.

How can I get NSTimeInterval just 15mins before to actual startDate ?


Solution

  • NSTimeInterval reqStartDate = startDate - (15*60);