Duration.Seconds

Syntax

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

About

Returns the seconds portion of duration.

Example 1

Extract the seconds from a duration value.

Usage

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

Output

2