year

Returns the year of a given date.

Syntax

'year' ( <datetime> )

Parameters

Returns

string

Example

'year' ( connection : \'DB'::'TBC.tbc.SALES'.'TRANSDATE' )