Show: Delphi C++
Display Preferences

System.DateUtils.YearOf

From XE2 API Documentation
Jump to: navigation, search

Delphi

function YearOf(const AValue: TDateTime): Word;

C++

extern PACKAGE System::Word __fastcall YearOf(const System::TDateTime AValue);

Contents

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


Code Examples

Personal tools
Previous Versions
Translations