Can any one give me an idea how to get the current date in milliseconds?
You can use following methods to get current date in milliseconds.
[[NSDate date] timeIntervalSince1970];
OR
double CurrentTime = CACurrentMediaTime();
Source: iPhone: How to get current milliseconds?