标签:
NSString *string = myOderM.p_time;
NSDate *date = [NSDate dateWithTimeIntervalSince1970:[string doubleValue]/1000];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy年MM月dd日 HH:mm:ss"];
NSString *currenDateStr = [dateFormatter stringFromDate:date];
self.timeLabel.text = currenDateStr;
标签:
原文地址:http://www.cnblogs.com/xiaolingling1126/p/5076592.html