Sign in Join
FPDoc Onlineexperiment

CurrentYear function

In unit sysutils

Return the current year.

Declaration

pascal
function CurrentYear: Word

Description

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

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.