I need the "current date and time" in seconds as a type of NSTimeInterval.
I use NSDate *currentTime = [NSDate date] to retrieve the current time which results in an object.
How do I get NSTimeInterval (seconds) out of this object ?
It seems to be very simple, but I did not find an example for this issue ...
Could anyone help ? Would be great
Cheers
I use NSDate *currentTime = [NSDate date] to retrieve the current time which results in an object.
How do I get NSTimeInterval (seconds) out of this object ?
It seems to be very simple, but I did not find an example for this issue ...
Could anyone help ? Would be great
Cheers