Returns the year number of a given date. If the received parameter is null, zero is returned.
date-expression | datetime-expression.Year()
To obtain the current year and assign it to a variable:
&ThisYear = Today.Year()
A string displaying text next to the year:
&TxtYear = 'Year:' + str(&Today.Year())
Objects Procedure object, Transaction object, Web Panel object
TimeZone Support - General Considerations