Convert milliseconds to NSDate...
NSDate *date = [NSDate dateWithTimeIntervalSince1970:(milliSeconds / 1000.0)];
NSDateFormatter *dateFormat = [[NSDateFormatter alloc]init];
[dateFormat setDateFormat:@"dd-MM-yyyy HH:mm"];
NSString *newdate = [dateFormat stringFromDate:date];
No comments:
Post a Comment