MS Access Year() Function
Definition and Usage
The Year() function returns the year (four digits) for a date.
Syntax
Year(date)
Parameter Values
Parameter | Description |
---|---|
date | Required. A valid date |
Technical Details
Works in: | Access 2016, Access 2013, Access 2010, Access 2007, Access 2003, Access XP, Access 2000 |
---|
More Examples
Example
Return the year for the "BirthDay" column in "Employees":
SELECT Year(BirthDate) FROM Employees;
Try it Yourself »