Returns the year number in a given date. If the received parameter is null, zero is returned.
Year(date-expression | datetime-expression)
Type returned:
Numeric(4)
Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, Java, Apple, Android, Angular
To obtain the current year and assign it to a variable:
&ThisYear = Year(Today())
And next year:
&NextYear = Year(Now()) + 1
TimeZone Support - General Considerations
Year method
Month function
Day function