How to find out the current timezone offset on the device in HOURS ?
For anyone looking for the current time zone offset as a string, try:
NSDateFormatter *localTimeZoneFormatter = [NSDateFormatter new];
localTimeZoneFormatter.timeZone = [NSTimeZone localTimeZone];
localTimeZoneFormatter.dateFormat = @"Z";
NSString *localTimeZoneOffset = [localTimeZoneFormatter stringFromDate:[NSDate date]];
In my time zone, localTimeZoneOffset
contains -0700