DaysPerMonth(Integer,Integer) Method
Returns the number of days in a month.
Declaration
function DaysPerMonth(AYear: Integer; AMonth: Integer): Integer;
Parameters
| Name | Type |
|---|---|
| AYear | Integer |
| AMonth | Integer |
Returns
| Type |
|---|
| Integer |
Remarks
Use the DaysPerMonth function to determine the number of days in a specific month of a specific year. The AYear and AMonth parameters specify the year and month respectively.
See Also