Duration.ToRecord

About

Returns a record with parts of a Duration value.

Syntax

Duration.ToRecords(duration as duration) as record  

Arguments

Argument Description
duration The Duration to parse.

Example

Duration.ToRecord(#duration(2, 5, 55, 20)) equals [Days=2, Hours=5, Minutes=55, Seconds=20]