Duration.TotalSeconds

Syntax

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

About

Returns the total seconds spanned by duration.

Example 1

Find the total seconds spanned by a duration value.

Usage

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

Output

446582