Duration.ToText(duration as nullable duration, optional format as nullable text) as nullable text
Returns a textual representation in the form "day.hour:mins:sec" of the given duration value,
duration. A text value that specifies the format can be provided as an optional second parameter,
durationfrom which the textual representation is calculated.
format: [Optional] A
textvalue that specifies the format.
#duration(2, 5, 55, 20) into a text value.
Duration.ToText(#duration(2, 5, 55, 20))