Returns the year of a given date.
Syntax
'year' ( <datetime> )
Parameters
<datetime> is a datetime operand.
Returns
string
Example
'year' ( connection : \'DB'::'TBC.tbc.SALES'.'TRANSDATE' )