duration_ms¶
Description¶
The input is a number representing a number of milliseconds, 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_ms(ms)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
ms |
numeric |
no |
no |
none |
Examples¶
make_col dur:duration_ms(2300)
Turns the value 2300 into a duration quantity of 2300 milliseconds, or 2.3 seconds.