Documentation for method hour
assembled from the following pages:
Class: DateTime §
From DateTime
(DateTime) method hour §
Defined as:
method hour(DateTime: --> Int)
Returns the hour component.
say DateTime.new('2012-02-29T12:34:56Z').hour; # OUTPUT: «12»