When overridden in a derived class, returns the number of days in the specified month, year, and era.
![]()
The number of days in the specified month in the specified year in the specified era.
For example, in System.Globalization.GregorianCalendar, Calendar.GetDaysInMonth(int, int) for February returns 28 in a common year or 29 in a leap year.