Duration.Hours
Syntax
Duration.Hours(duration as nullable duration) as nullable number
About
Returns the hours portion of duration
.
Example 1
Extract the hours from a duration value.
Usage
Duration.Hours(#duration(5, 4, 3, 2))
Output
4
Þessi vafri er ekki lengur studdur.
Uppfærðu í Microsoft Edge til að nýta þér nýjustu eiginleika, öryggisuppfærslur og tæknilega aðstoð.
Duration.Hours(duration as nullable duration) as nullable number
Returns the hours portion of duration
.
Extract the hours from a duration value.
Usage
Duration.Hours(#duration(5, 4, 3, 2))
Output
4