Answers for "how to get date from timestamp postgresql"

SQL
1

postgresql get date from datetime

SELECT DATE(column_name) FROM table_name;
Posted by: Guest on December-07-2020
0

postgres extract time from timestamp

select cast(timestamp '2014-04-03 12:34:00' as time)
-- equivalent to
select '2014-04-03 12:34:00'::time
Posted by: Guest on May-26-2021

Code answers related to "how to get date from timestamp postgresql"

Code answers related to "SQL"

Browse Popular Code Answers by Language