1:时间戳转NSDate
NSString *timeStamp =@"1545965436";
NSDate *date = [NSDate dateWithTimeIntervalSince1970:[timeStamp intValue]];
本文共 178 字,大约阅读时间需要 1 分钟。
1:时间戳转NSDate
NSString *timeStamp =@"1545965436";
NSDate *date = [NSDate dateWithTimeIntervalSince1970:[timeStamp intValue]];
转载于:https://www.cnblogs.com/KiVen2015/p/10365195.html