In DateTime§
See primary documentation in context for method offset-in-hours
method offset-in-hours(DateTime: --> Real)
Returns the time zone in hours as an offset from UTC.
say DateTime.new('2015-12-24T12:23:00+0200').offset-in-hours; # OUTPUT: «2»