HOUR

Returns the hour for a given time value. The hour is returned as an integer between 0 and 23.

Sintakse

HOUR(Skaitlis)

Number, as a time value, is a decimal, for which the hour is to be returned.

Piemēri

=HOUR(NOW()) atgriež pašreizējo stundu

=HOUR(C4) atgriež 17, ja saturs C4 = 17:20:00.

See also the following functions:

YEAR, NOW, MINUTE, MONTH, DAY, WEEKDAY.