Duration.HoursDuration.Hours

СинтаксисSyntax

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

СведенияAbout

Возвращает компонент часов заданного значения duration, duration.Returns the hour component of the provided duration value, duration.

Пример 1Example 1

Поиск компонента часов в значении #duration(5, 4, 3, 2).Find the hours in #duration(5, 4, 3, 2).

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

4