Duration.TotalSeconds

This function calculates the total number of seconds included in the specified duration.

Syntax

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

About

This function calculates the total number of seconds included in the specified duration.

Explanation

Calculate the total number of seconds encompassed by a given duration value. Usage: Power Query MDuration.TotalSeconds(#duration(5, 4, 3, 2)) Result: 446,582 seconds.