duration_min¶
Description¶
The input is a number representing a number of minutes, 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_min(min)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
min |
numeric |
no |
no |
none |
Examples¶
make_col dur:duration_min(1.5)
Turns the value 1.5 into a duration quantity of a minute and a half, or 90 seconds.