// 时间序列化
NSString *str = @"20130322152832";
NSDateFormatter *formater = [[NSDateFormatter alloc] init];
//系统时区
[formater setDateFormat:@"yyyyMMddHHmmss"];
NSDate *date = [formater dateFromString:str];
//时区转换取得时区
NSTimeZone *timeZone = [NSTimeZone systemTimeZone];
NSInteger interval = [timeZone secondsFromGMTForDate:date];
// 这里千万不要忘记赋值,否则悲剧
date = [date dateByAddingTimeInterval:interval];
NSLog(@"%@",date);