Del via


Duration.Hours

Syntaks

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

Omtrent

Returnerer timerdelen af duration.

Eksempel 1

Udtræk timerne fra en værdi for varighed.

brug

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

output

4