PostgreSQL Dapatkan Tanggal dari Datetime
SELECT DATE(column_name) FROM table_name;
GutoTrosla
SELECT DATE(column_name) FROM table_name;
SELECT '2018-07-25 10:30:30'::DATE;
# result -> '2018-07-25'