//创建时间
NSInteger numTime = [dict[@"createTime"][@"time"] longLongValue]/1000;
NSDate *nowTime = [NSDate dateWithTimeIntervalSince1970:numTime];
NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
[dateFormat setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
NSString *dateString = [dateFormat stringFromDate:nowTime];
cd.createTime = dateString;
时间: 2024-10-12 09:10:54