If you want the offset as a number you need to divide by a float ( 3600.0 or 1.hour.to_f ) otherwise offset that are not on the hour will be incorrect (e.g. Asia/Rangoon has an offset of UTC+06:30)
3600.0
1.hour.to_f