Question: how to calculate time zone offset?
Answer: The total offset from UTC is equal to utc_offset + std_offset. This is the offset from the local time where daylight savings is in effect, in seconds.