(日付)
getMonth
現在の月を返します
書式
★.getMonth()
★=Dateオブジェクト名
文例
d = myDate.getMonth()
上位オブジェクト
Date
説明
現在の月を返します。0〜11までの値になりますので注意してください。
関連
setMonth
サンプル1
サンプル2(Dreamcast用)