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

Duration.Seconds

Owen Duncan|Last Updated: 4/19/2018

About

Returns a second component of a Duration value.

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

Arguments

ArgumentDescription
durationThe Duration to parse.

Examples

duration1 = Duration.FromText("2.05:55:20")  
duration2 = Duration.FromText("15:50")  
Duration.Days(duration1) equals 2  
Duration.Hours(duration1) equals 5  
Duration.Minutes(duration1) equals 55  
Duration.Seconds(duration1) equals 20  
Duration.Seconds(duration2) equals 0  
© 2018 Microsoft