duration_hr¶
Description¶
The input is a number representing a number of hours, the output is that quantity as type duration.
Return type¶
duration
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
duration_hr( hr )
Argument |
Type |
Required |
Multiple |
Constant |
---|---|---|---|---|
hr |
numeric |
Required |
Only one |
Variable |
Examples¶
make_col dur:duration_hr(1.5)
Turns the value 1.5 into a duration quantity of an hour and a half, or 90 minutes.