Show: Delphi C++
Display Preferences

System.DateUtils.DaysInMonth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DaysInMonth(const AValue: TDateTime): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall DaysInMonth(const System::TDateTime AValue);

Properties

Type Visibility Source Unit Parent
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

Returns the number of days in the month of a specified TDateTime value.

Call DaysInMonth to obtain the number of days in the month of the TDateTime value specified by AValue.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance