Skip to content

CurrentYear

Return the current year

Declaration

Source position: datih.inc line 196

  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.
Now Returns the current date and time.
Time Returns the current time.