Table of contents
TOC
Collapse the table of content
Expand the table of content

Duration.TotalSeconds

Owen Duncan|Last Updated: 4/19/2018

About

Returns the total magnitude of seconds from a duration value.

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

Arguments

ArgumentDescription
durationThe Duration to parse.

Example

let  
duration = #duration(2,22,120,20)  
in  
[  
totaldays= Duration.TotalDays(duration) equals 3.0002  
totalhours= Duration.TotalHours(duration) equals 72.005  
totalminutes= Duration.TotalMinutes(duration) equals 4320.33  
totalseconds=Duration.TotalSeconds(duration) equals 259220  
]  
© 2018 Microsoft