Warning: This Help page is relevant to LibreOffice up to version 6.0.
For updated Help pages, visit https://help.libreoffice.org.

HOUR

From LibreOffice Help
Jump to: navigation, search

HOUR

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

Syntax

HOUR(Number)

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

Examples

=HOUR(NOW()) returns the current hour

=HOUR(C4) returns 17 if the contents of C4 = 17:20:00.

Katso myös seuraavia funktioita:

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