Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Time > mon

instance method Time#mon

mon -> Integer
month -> Integer

月を整数で返します。

p Time.local(2000, 1, 1).month #=> 1