year - script and chart function

This function returns an integer representing the year when the expression is interpreted as a date according to the standard number interpretation.

Syntax:  

year(expression)

 

Return data type: integer