duration_hr
duration_hr(hr: numeric) -> duration
The input is a number representing a number of hours, the output is that quantity as type duration.
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
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.
Updated 8 days ago