Enable JavaScript in the browser to display LibreOfficeDev Help pages.

SECOND

指定の時刻値の秒を返します。秒は、0 から 59 までの整数として返されます。

note

This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)


構文

SECOND(数値)

数値 は小数で表されるシリアル値で、これに対応する秒が返されます。

note

SECOND() rounds to the nearest second, instead of returning the integer part of the seconds.


=SECOND(NOW()) は、現在の秒を返します。

C4 の内容が 12:20:17 の場合、=SECOND(C4) は 17 を返します。