System.SysUtils.CurrentYear

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function CurrentYear: Word;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Renvoie l'année en cours.

CurrentYear renvoie l'année en cours du calendrier grégorien. La valeur renvoyée est l'année complète (quatre chiffres).