HOUR

Returns the hour (0-23) of the day for a given time.

Syntax

HOUR(time)

Arguments

time Time value to extract the day. Use the format (hour, minute, seconds)

Example

HOUR(TIME(8,15,10)) returns 8.