このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
mday -> Integer
day -> Integer
月の日を返します (1-31)。