ReferenceDateTimeDateTime():month()✦Use with AI▾このページの見出しDateTime():month() DateTime オブジェクトの月を返します。(1始まり、1月は 1) シグネチャ month(): number 戻り値 型: number 月(1〜12)。 例 local date = DateTime(2024, 3, 15) -- 2024年3月15日local month = date:month()toast("Month: " .. month) -- 出力: 3