make_timestamp_ms
Build a timestamp from the number of milliseconds since 1970-01-01.
Try an expression
In Formula, enter the expression and set Output type to TIMESTAMP.
Expression
make_timestamp_ms(1667810584123)Result
2022-11-07 08:43:04.123To use your own data, replace the example values with column names. Keep format strings and other options as written.
Arguments and types
make_timestamp_ms(nanos)- nanos
- Number
Supported signatures (1)
make_timestamp_ms(nanos: BIGINT) → TIMESTAMPThe result type can depend on the input types. See DuckDB for the full argument rules.
Things to know
If the first argument is missing, the result is NULL.
Function metadata from DuckDB, used under the MIT license.