HOUR

The HOUR function returns the hour for a given date/time value or time string.

HOUR(time)

time: A date/time value or time string.

Notes

Examples

=HOUR(NOW()) returns the current hour of the day.

=HOUR(“4/6/88 11:59:22pm”) returns 23.

See also
MINUTE
SECOND