DaysInMonth function
function
DaysInMonth(Year, Month: Word): Word;
Unit
TeeProcs
Description
Returns the number of days for a given Month and Year parameters.