Year

sql

FUNCTION Year(IN dt DATE) RETURNS INT

Parameters

dt date in the internal 602SQL format

Description

The Year function extracts the year from date. You may also use the general EXTRACT SQL function.

Function value

The function returns a positive number of the year.

See