Can any one give me an idea how to get the current date in milliseconds?
Use this to get the time in milliseconds (long)(NSTimeInterval)([[NSDate date] timeIntervalSince1970]).
(long)(NSTimeInterval)([[NSDate date] timeIntervalSince1970])