type

TIMESTAMP

PostgreSQL TIMESTAMP defaults to without time zone, representing local calendar date and clock time rather than a unique instant. Example target: PostgreSQL 17. Run in a disposable database; examples need no existing tables.

Formal Syntax & Structure

sql syntaxsql
TIMESTAMP(p)

Working Example

Example Snippetsql
SELECT CAST(TIMESTAMP '2024-01-15 09:30:00' AS TEXT);
SQL Reference