您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

TOTALSECONDS()

Count of seconds in Duration

Returns the number of seconds (Decimal value) represented by the given duration of time.

Sample usage

TOTALSECONDS("000:00:12") returns 12

TOTALSECONDS("000:15:00") returns 900 (number of seconds in 15 minutes)

TOTALSECONDS("024:00:00") returns 86,400 (number of seconds in 24 hours)

TOTALSECONDS("024:00:00" + "000:15:00" + "000:00:12") returns 87,312; equivalent to TOTALSECONDS(SUM(LIST("024:00:00", "000:15:00", "000:00:12"))). See also: LIST(), SUM()

TOTALSECONDS(TIMENOW() - "00:00:00") returns the number of seconds that have passed from midnight today to now. TIMENOW() returns the current Time; subtracting one Time value ("00:00:00") from another gives the needed Duration argument. See also: TIMENOW(), Date and time expressions

Syntax

TOTALSECONDS(duration)

  • duration - A Duration value.

See also

Date and time expressions

HOUR()

MINUTE()

SECOND()

TOTALHOURS()

TOTALMINUTES()

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Main menu
3111492949662267672
true
Search Help Center
false
true
true
true
false
false
false
false
false
⌂ 换网址