Flash cards
Review the key moves
1/4
Core idea
What is the main idea behind MS Access Hour() 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.
___(#14:48:23#);3Order
Put the learning moves in the order that makes the concept easiest to apply.
The Hour() function returns the hour part of a time/datetime.
Definition and Usage
MS Access Hour() Function
Example
SELECT
Hour(#14:48:23#);Definition and Usage
The Hour() function returns the hour part of a time/datetime.
This function returns an integer between 0 and 23.
Syntax
Hour(
time
)Parameter Values
| Parameter | Description |
|---|---|
| time | Required. A numeric or string expression that can represent a valid time/datetime |
Technical Details
| Works in: | From Access 2000 |
|---|