SELECT '2018-07-25 10:30:30'::TIMESTAMP::DATE;
select cast(timestamp '2014-04-03 12:34:00' as time)
-- equivalent to
select '2014-04-03 12:34:00'::time
SELECT DATE(column_name) FROM table_name;
SELECT DATE(SUBSTRING('2018-07-25 10:30:30' FROM 1 FOR 10));