1.时间戳转时间 NSString *str=@"1368082020";//时间戳 NSTimeInterval time=[str doubleValue]+28800;//因为时差问题要加8小时 == 28800 sec NSDate