iPhone: How to get current milliseconds?

current-time, ios, iphone, time, timestamp

Solution

[[NSDate date] timeIntervalSince1970];

It returns the number of seconds since epoch as a double. I'm almost sure you can access the milliseconds from the fractional part.

Problem

What is the best way to get the current system time milliseconds?

Original source

Related problems