To return the year number in a given date.
Year(date-expression | datetime-expression)
If the received parameter is null, zero is returned.
To obtain the current year and assign it to a variable:
&ThisYear = Year(Today())
And next year:
&NextYear = Year(Now()) + 1
Objects Procedure object, Transaction object, Web Panel object
TimeZone Support - General Considerations