Duration.Seconds

语法

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

关于

返回 duration 的秒数部分。

示例 1

从持续时间值中提取秒数。

使用情况

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

输出

2