timestamp_micros function (Databricks SQL)

Creates a timestamp expr microseconds since UTC epoch.

Syntax

timestamp_micros(expr)

Arguments

  • expr: An integral numeric expression specifying microseconds.

Returns

A TIMESTAMP.

Examples

> SELECT timestamp_micros(1230219000123123);
 2008-12-25 07:30:00.123123