Year

Result = Year ( Date AS Date ) AS Integer

Retorna la any d'una Date

Examples

PRINT Now; " -> "; Year(Now)
05/16/2002 22:31:30 -> 2002

Vegeu també