NSDateを GMT+9 で表示する
NSDateFormatter *f = [NSDateFormatter new]; f.timeZone = [NSTimeZone timeZoneWithAbbreviation:@"JST"]; f.dateFormat = @"yyyy/MM/dd HH:mm:ss Z"; NSLog( @"%@", [f stringFromDate:[NSDate date]] );
NSDateFormatter *f = [NSDateFormatter new]; f.timeZone = [NSTimeZone timeZoneWithAbbreviation:@"JST"]; f.dateFormat = @"yyyy/MM/dd HH:mm:ss Z"; NSLog( @"%@", [f stringFromDate:[NSDate date]] );