scalar-extension
to_timestamp
Parse formatted text into a timestamp with time zone; session zone matters when absent. A separate overload accepts epoch seconds.
Formal Syntax & Structure
sql syntaxsql
to_timestamp(text, template text)Working Example
Example Snippetsql
SELECT to_timestamp(0) AT TIME ZONE 'UTC';