Power Query
Search…
Duration.Hours

Duration.Hours

Returns the hours part of this duration.
function (optional duration as nullable any) as nullable any

Description

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

Category

Duration

Examples

Find the hours in #duration(5, 4, 3, 2).
Duration.Hours(#duration(5, 4, 3, 2))
4
Copy link
Outline
Duration.Hours
Description
Category
Examples