Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%Year function


Function
The function retrieves the time component  - year - of given absolute time.


Declaration


Blok kódu
languageesl
themeConfluence
INT %Year(
   TIME in Arg,
   INTTEXT  in timeZone :=  %GetTimeZone%GetCurrentTimeZone()
 )


Parameters


ArgFunction argument.
timeZone

Zahrnúť stránku
timeZone

Forced time zone to convert to a local time. It is set as a time zone offset from UTC during winter in seconds.

timeZone


Example


Blok kódu
languageesl
themeRDark
%Year(SysTime)     ; the result is the current year of the system time