GetDaysInMonth()

GregorianCalendarUtils::GetDaysInMonth(int, int) method

Gets number of days in specific month.

static int System::Globalization::Details::GregorianCalendarUtils::GetDaysInMonth(int year, int month)

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth.

Return Value

Number of days in specified month of specified year.

See Also