method offset-in-minutes

Documentation for method offset-in-minutes assembled from the following types:

class DateTime

From DateTime

(DateTime) method offset-in-minutes

Defined as:

method offset-in-minutes(DateTime:D: --> Real:D)

Returns the time zone in minutes as an offset from UTC.

say DateTime.new('2015-12-24T12:23:00+0200').offset-in-minutes# OUTPUT: «120␤»