scalar-extension

make_timestamp

Construct a timestamp without time zone from calendar and clock components.

Formal Syntax & Structure

sql syntaxsql
make_timestamp(year int, month int, day int, hour int, min int, sec double precision)

Working Example

Example Snippetsql
SELECT make_timestamp(2025,1,2,3,4,5);
SQL Reference