Chuyển tới nội dung chính

Duration.Seconds

Trả về phần giây của một khoảng thời gian.

Syntax​

Duration.Seconds(
duration as duration
) as number

Remarks​

Trả về phần giây của duration.

Examples​

Example #1​

Trích xuất giây từ giá trị khoảng thời gian.

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

Result:

2

Category​

Duration