iOS----------时间戳与NSDate


1:时间戳转NSDate


NSString *timeStamp =@"1545965436";


NSDate *date = [NSDate dateWithTimeIntervalSince1970:[timeStamp intValue]];