Show: Delphi C++
Display Preferences

System.SysUtils.CurrentYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CurrentYear: Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall CurrentYear(void);

Properties

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

Description

Returns the current year.

CurrentYear returns the current year in the Gregorian calendar. The value returned is the complete four-digit year.

See Also

Personal tools
Translations