Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class Time > hour

instance method Time#hour

hour -> Integer

時を整数で返します。