System.DateUtils.YearOf
Delphi
function YearOf(const AValue: TDateTime): Word;
C++
extern DELPHI_PACKAGE System::Word __fastcall YearOf(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 year represented by a TDateTime value.
Call YearOf to obtain the year represented by a specified TDateTime value. YearOf returns a value from 1 through 9999.
See Also