mon -> Integer[permalink][rdoc]month -> Integer-
月を整数で返します。
p Time.local(2000, 1, 1).month #=> 1
このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
mon -> Integer[permalink][rdoc]month -> Integer月を整数で返します。
p Time.local(2000, 1, 1).month #=> 1