I saw this answer : Get current NSDate in timestamp format
But for some reason it gives me errors.
What I need is to be able to specify the timestamp between now and in the next 2 minutes, or interval between last 2 minutes and now.
Eg: interval => now-2minutes to now (Time between previous 2 minutes and now)
Thank you.