LibreOffice SymbolLibreOffice Symbol

请支持我们!

HOUR

返回给定时间值的「小时」,表示为 0 到 23 之间的整数。

语法

HOUR(数字)

serial_number」是一个要确定其对应小时数的时间值。

批注图标

HOUR() returns the integer part of the hour.


示例

=HOUR(NOW())」返回当前的小时数

=HOUR(C4) 返回 17,如果 C4 = 17:20:00」。

Technical information

批注图标

This function is part of the Open Document Format for Office Applications (OpenDocument) standard.