Home / lang / year 
Year
Syntax
Result = Year ( Date )

Returns the year component of a Date value.

Examples

PRINT Now; " -> "; Year(Now)

05/16/2002 22:31:30 -> 2002

See also

Date & Time Functions