User:Syranzi/Documentation/How Tos/Calc: HOUR function

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

HOUR

HOUR

Returns the hour of a given time. 指定された時刻の時を返します。

Syntax:

構文:

HOUR(time)

returns the hour of time as a number, 0 - 23.
time may be text or a date-time serial number.

HOUR(時刻)

「時刻」の時を数字 (023) として返します。
「時刻」は文字、または日付・時刻のシリアル値です。

Example:

例:

HOUR("2008-01-06 21:30:15")

returns 21.

HOUR(A1)

where cell A1 contains the time 9:25:10 as a date-time serial number, returns 9.

HOUR("2008-01-06 21:30:15")

21 時にあたる「21」を返します。

HOUR(A1)

セル A1 が時刻「9 時 25 分 10 秒 (9:25:10)」を日付・時刻のシリアル値として含む場合、「9」を返します。



See Also

関連項目

Personal tools