timestamp_millis function (Databricks SQL)

Creates a timestamp expr milliseconds since UTC epoch.

Syntax

timestamp_millis(expr)

Arguments

  • expr: An integral numeric expression specifying milliseconds.

Returns

A TIMESTAMP.

Examples

> SELECT timestamp_millis(1230219000123);
 2008-12-25 07:30:00.123