Year

Year

%Year function


Function

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

Declaration

INT %Year( TIME in Arg, TEXT in timeZone := %GetCurrentTimeZone() )

Parameters

Arg

Function argument.

timeZone

Example

%Year(SysTime) ; the result is the current year of the system time