I got a serial number form Java Date which convert into long-integer such as “1352101337000”.
The problem I met is how to analyze this long-integer number back to NSDate or NSString so that I can clear to know what time the serial number is displaying.
Do anybody have solution for this case?
Use this,
To change it back,
As per apple documentation,
NSTimeInterval: Used to specify a time interval, in seconds.
typedef double NSTimeInterval;
It is of type double.
To convert a date to string,