标签:
NSTimeZone *zone = [NSTimeZone systemTimeZone];
NSInteger interval = [zone secondsFromGMTForDate: date];
NSDate *localeDate = [date dateByAddingTimeInterval: interval];
NSLog(@"enddate=%@",localeDate);
iOS-获取的NSDate date时间与实际相差8个小时解决方案
标签:
原文地址:http://www.cnblogs.com/Camier-myNiuer/p/4301143.html