Skip to content

CurrentYear

Return the current year.

Declaration

Source position: datih.inc line 202

function CurrentYear : Word;

Description

CurrentYear returns the current year as a 4-digit number.

Errors

None.

See also

Name Description
Date Return the current date.
Time Returns the current time.
Now Returns the current date and time.