Show: Delphi C++
Display Preferences

System.DateUtils.MonthOfTheYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MonthOfTheYear(const AValue: TDateTime): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall MonthOfTheYear(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 month of the year represented by a TDateTime value.

Call MonthOfTheYear to obtain the month of the year represented by a specified TDateTime value. MonthOfTheYear returns a value from 1 through 12.

Note: MonthOfTheYear returns the same value as the MonthOf function.

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance