I need to get time in millisecond accuracy. How can I get it from NSDate. Currently when I NSLog time, it is showing only upto seconds.
NSDate
NSLog
You'll need to use the below method to convert sec. into millisecond:
([NSDate timeIntervalSinceReferenceDate] * 1000)
2.1m questions
2.1m answers
60 comments
57.0k users