method offset-in-hours
Documentation for method offset-in-hours
assembled from the following types:
class DateTime
From DateTime
(DateTime) method offset-in-hours
Defined as:
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»