Your Airkit journey starts here

HOUR

Returns the hour of the datetime or time from 0-23.

Declaration

HOUR(datetime) -> hour
HOUR(time) -> hour

Parameters

datetime
datetime -A datetime value to retrieve the hour for.
time
time -A time value to retrieve the hour for.

Return Values

hour
number -The hour from 0-23.