The Hour() function returns the hour part of a time/datetime.
This function returns an integer between 0 and 23.
Hour(
time)
Parameter | Description |
---|---|
time | Required. A numeric or string expression that can represent a valid time/datetime |
Works in: | From Access 2000 |
---|
Return the hour for a specified datetime:
SELECT Hour(#24/10/2016 11:18:34 PM#);
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!