System::DateTime::DaysInMonth 方法

DateTime::DaysInMonth method

返回指定年份中指定月份的天数。

static int System::DateTime::DaysInMonth(int year, int month)
参数类型描述
年份int年份
月份int月份的序号

ReturnValue

指定年份中指定月份的天数。

另见