Flash cards
Review the key moves
1/4
Core idea
What is the main idea behind MS Access Year() Function?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
1Quick choice
Which statement best captures the main point of this lesson?
2Fill blank
Complete the missing token from the example code.
___ Year(#05/17/2017#);3Order
Put the learning moves in the order that makes the concept easiest to apply.
The Year() function returns the year part of a given date.
Definition and Usage
MS Access Year() Function
Example
SELECT Year(#05/17/2017#);Definition and Usage
The Year() function returns the year part of a given date.
This function returns an integer between 100 and 9999.
Syntax
Year(
date
)Parameter Values
| Parameter | Description |
|---|---|
| date | Required. A numeric or string expression that can represent a valid date |
Technical Details
| Works in: | From Access 2000 |
|---|