NSString * timeStampString = @"1444529539000";
NSDate *date = [NSDate dateWithTimeIntervalSince1970:[timeStampString doubleValue] / 1000];
NSLog(@"%@", date);
# via@新浪微博:王星凯SoWhat
NSString * timeStampString = @"1444529539000";
NSDate *date = [NSDate dateWithTimeIntervalSince1970:[timeStampString doubleValue] / 1000];
NSLog(@"%@", date);
# via@新浪微博:王星凯SoWhat
本文标题:时间转换-ios
本文链接:https://www.haomeiwen.com/subject/yhnkkttx.html
网友评论