Duration.Hours

Syntax

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

About

Returns the hour component of the provided duration value, duration.

Example 1

Find the hours in #duration(5, 4, 3, 2).

Duration.Hours(#duration(5, 4, 3, 2))

4