Duration.Seconds
Returns the seconds portion of a duration.
Syntax
Duration.Seconds(
duration as duration
) as number
Remarks
Returns the seconds portion of duration
.
Examples
Example #1
Extract the seconds from a duration value.
Duration.Seconds(#duration(5, 4, 3, 2))
Result:
2
Category
Duration