Ruby 1.9.2 Reference Manual > All Libraries > Builtin Library > class Time > mon
mon -> Integer
month -> Integer
月を整数で返します。
p Time.local(2000, 1, 1).month #=> 1