Contents

# TIME

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

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

### 語法

TIME(Hour; Minute; Second)

使用整數設定 Hour。

使用整數設定 Minute。

使用整數設定 Second。

### 範例

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

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

相關主題

TIME wiki page.

Date & Time Functions

DATE

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

DATEVALUE

DAY

DAYS

DAYS360

DAYSINMONTH

DAYSINYEAR

EASTERSUNDAY

EDATE

EOMONTH

HOUR

ISLEAPYEAR

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

MINUTE

MONTH

MONTHS

NETWORKDAYS

NETWORKDAYS.INTL

NOW

SECOND

TIME

TIMEVALUE

TODAY

WEEKDAY

WEEKNUM

WEEKNUM_ADD

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

WEEKS

WEEKSINYEAR

WORKDAY

WORKDAY.INTL

YEAR

YEARFRAC

YEARS