System::Globalization::Calendar::GetDaysInMonth method

Calendar::GetDaysInMonth(int, int) const method

Gets number of days in specific month.

virtual int System::Globalization::Calendar::GetDaysInMonth(int year, int month) const
ParameterTypeDescription
yearintYear.
monthintMonth to get number of days in.

ReturnValue

Number of days in specified month of specified year.

See Also

Calendar::GetDaysInMonth(int, int, int) const method

Gets number of days in specific month.

virtual int System::Globalization::Calendar::GetDaysInMonth(int year, int month, int era) const
ParameterTypeDescription
yearintYear.
monthintMonth to get number of days in.
eraintEra.

ReturnValue

Number of days in specified month of specified year of specified era.

See Also