Duration.TotalSeconds

Syntax

Duration.TotalSeconds(duration as nullable duration) as nullable number

About

Returns the total seconds spanned by duration, including any seconds represented by the days, hours, and minutes.

Example

Find the total seconds spanned by a duration value.

Usage

Duration.TotalSeconds(#duration(5, 4, 3, 2))

Output

446582