User:Syranzi/Documentation/How Tos/Calc: TIME 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.

TIME

TIME

returns the time, given hours, minutes and seconds.

時、分、秒を指定されると、時刻を返します。

Syntax:

構文:

TIME(hours; minutes; seconds)

returns the time, expressed as a date-time serial number. hours, minutes and seconds are integers.

TIME(時; 分; 秒)

時刻を、日付・時刻のシリアル値で返します。「時」「分」「秒」は整数です。


If hours, minutes and seconds are not within range for a valid time, the time will 'roll over', as shown below.
「時」「分」「秒」が有効な時刻の範囲にない場合、時刻は繰り延べるか、さかのぼることになります。以下の例のとおりです。

Example:

例:

TIME(9; 31; 20)

returns the time 9:31:20 am (as a date-time serial number).

TIME(9; 31; 20)

「午前 9 時 31 分 20 秒 (9:31:20 am)」という時刻を (日付・時刻のシリアル値として) 返します。

TIME(9; 31; 75)

returns 9:32:15 am - the time rolls over, as there are only 60 seconds in a minute.

TIME(9; 31; 75)

「午前 9 時 32 分 15 秒 (9:32:15 am)」と返します。1 分は 60 秒しかないため、時刻を繰り延べています。



See Also

関連項目

Personal tools