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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for