calculate offset to UTC correctly