Hour

This function converts an expression to a whole number that represents the hour of the day.

Syntax

Hour(time)

Parameters

time
Any expression that can represent a time. If time contains Null, Null is returned.

Return Values

Returns a whole number from 0 through 23.