YEAR( )

The YEAR( ) operator returns an integer, corresponding to the year portion of its DATE or DATETIME operand.

4GLREF00000111.gif

The YEAR( ) operator returns all the digits of the year value (1994, not 94).

References

DATE( )

DAY( )

MONTH( )

WEEKDAY( )