Vcl.Samples.Calendar.TCalendar.DaysPerMonth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DaysPerMonth(AYear, AMonth: Integer): Integer; virtual;

C++

virtual int __fastcall DaysPerMonth(int AYear, int AMonth);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

Description

Returns the number of days for the specified month of the given year.

The DaysPerMonth method returns the number of days for the specified month of the given year. The month is specified by the AMonth parameter while the year is given by the AYear parameter.

See Also