type

DATE

Represents a calendar date without a time of day in PostgreSQL. Use unambiguous ISO-format literals. Example target: PostgreSQL 17. Run in a disposable database; examples need no existing tables.

Formal Syntax & Structure

sql syntaxsql
DATE

Working Example

Example Snippetsql
SELECT CAST(DATE '2024-02-29' + 1 AS TEXT);
SQL Reference