make_timestamp_ns
The timestamp for the given nanoseconds since epoch.
Try an expression
In Formula, enter the expression and set Output type to VARCHAR.
Expression
make_timestamp_ns(1667810584123456789)Result
'2022-11-07 08:43:04.123456789'The expression returns TIMESTAMP_NS. Formula stores it as VARCHAR in this example. To use your own data, replace the example values with column names. Keep format strings and other options as written.
Arguments and types
make_timestamp_ns(nanos)- nanos
- Number
Supported signatures (1)
make_timestamp_ns(nanos: BIGINT) → TIMESTAMP_NSThe 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.