I've kept my data in firebase with TIMESTAMP generated by firebase. I need to convert them in my iOS app. I tried to do it in following manner but returns complicated result.
NSDate *date = [NSDate dateWithTimeIntervalSince1970:1493292606524];
NSLog(@"Date: %@", date);
It returns Date: 49290-07-23 05:48:44 +0000
What is the issue of above? Result should be today date. (2017-04-27)