TIME

TIME 傳回從小時、分鐘、秒數值得出的目前時間值。 此函式可用於將基於這三個元素的時間轉換為小數時間值。

note

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


Syntax

TIME(Hour; Minute; Second)

使用整數設定 Hour。

使用整數設定 Minute。

使用整數設定 Second。

Example

=TIME(0;0;0) 傳回 00:00:00

=TIME(4;20;4) 傳回 04:20:04

Date & Time Functions

DATE

[text/scalc/01/func_datedif.xhp#datedif not found].

DATEVALUE

DAY

DAYS

DAYS360

EASTERSUNDAY

EDATE

EOMONTH

HOUR

[text/scalc/01/func_isoweeknum.xhp#isoweeknum not found].

MINUTE

MONTH

NETWORKDAYS

NETWORKDAYS.INTL

NOW

SECOND

TIME

TIMEVALUE

TODAY

WEEKDAY

WEEKNUM

WEEKNUM_ADD

[text/scalc/01/func_weeknum_ooo.xhp#weeknum_ooo not found].

WORKDAY

WORKDAY.INTL

YEAR

YEARFRAC

Please support us!