System.DateUtils.MonthOf
Delphi
function MonthOf(const AValue: TDateTime): Word;
C++
extern DELPHI_PACKAGE System::Word __fastcall MonthOf(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 MonthOf to obtain the month of the year represented by a specified TDateTime value. MonthOf returns a value from 1 through 12.
Note: MonthOf returns the same value as the MonthOfTheYear function.
See Also