The general syntax for casting a value into another is
SELECT CAST(date AS TIMESTAMP) FROM tableIn PostgreSQL we can use the CAST operator:
SELECT date::TIMESTAMP FROM tableThe general syntax for casting a value into another is
SELECT CAST(date AS TIMESTAMP) FROM tableIn PostgreSQL we can use the CAST operator:
SELECT date::TIMESTAMP FROM table