How do you get the actual timezone offset as an integer for the account and business hours settings

The API only returns a text value for the time zone when you call either ‘/api/v2/account’ or ‘/api/v2/business_hours’. How can you get the actual offset integer from that?