RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.CurrentYear Function

Returns the current year.

Pascal
function CurrentYear: Word;
C++
Word CurrentYear();

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!