from_milliseconds¶
Description¶
Given a numeric value representing milliseconds since epoch, return a timestamp of that point in time.
Return type¶
timestamp
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
from_milliseconds(number)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
number |
numeric |
no |
no |
none |
Examples¶
make_col out_ms:from_milliseconds(in_fld)
Treat in_fld as milliseconds since epoch, and set out_ms to a timestamp representing that time.
Aliases¶
timestamp_ms
, milliseconds
(deprecated)