System::DateTime::DaysInMonth メソッド

DateTime::DaysInMonth method

指定された年の指定された月の日数を返します。

static int System::DateTime::DaysInMonth(int year, int month)
パラメーター型説明
年int年
月int月の序数

ReturnValue

指定された年の指定された月の日数です。

参照