Categories: Date/Time, Conversion
TO_TIME
Converts the input expressions to the corresponding time.
Syntax
TO_TIME(numeric_expression int32) → time
- numeric_expression: A Unix epoch timestamp.
Examples
TO_TIME exampleSELECT TO_TIME(1665131223)
-- 08:27:03
TO_TIME(numeric_expression int64) → time
- numeric_expression: A Unix epoch timestamp.
Examples
TO_TIME exampleSELECT TO_TIME(1665131223)
-- 08:27:03