c0de 0.3.0Diese Seite auf Deutsch

YEAR ​

Returns the year of a time, e.g. 2026.

Without time the function uses the current time. It uses the time zone of the server.

Parameters and results

  • time TIME: the time (optional, default now)
  • result result INTEGER: the year

Example

c0de
CALL c0de/time/YEAR
    RESULT result year