SysUtils.MonthDays

From RAD Studio VCL Reference
Jump to: navigation, search

C++ Information

From SysUtils.hpp

	System::StaticArray<System::StaticArray<unsigned short,12>,2> MonthDays;


Unit: SysUtils

Type: variable

Description

Defines the number of days in each month for normal and leap years.


MonthDays defines a two-dimensional array of TDayTable values; namely, an array of two sets of 12 words. The first set holds the number of days in each month in a normal year, the second set the number in a leap year.

Use MonthDays[IsLeapYear(Y), M] to find the number of days in Year 'Y', month 'M'.

See Also

Personal tools
Translations
Newest Version