from_seconds¶
Description¶
Given a numeric value representing seconds 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_seconds( number )
Argument |
Type |
Required |
Multiple |
Constant |
---|---|---|---|---|
number |
numeric |
Required |
Only one |
Variable |
Examples¶
make_col out_s:from_seconds(in_fld)
Treat in_fld as seconds since epoch, and set out_s to a timestamp representing that time.
Aliases¶
timestamp_s
, seconds
(deprecated)