Duration.TotalHours

Syntax

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

About

Returns the total hours spanned by duration, including any hours (or partial hours) represented by the days, minutes, and seconds.

Example

Find the total hours spanned by a duration value.

Usage

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

Output

124.05055555555555