postgresql current date - 1 code example
Example 1: postgresql date = today
Select * from table where col_date::date = now()::date;
Example 2: postgresql get date from datetime
SELECT DATE(column_name) FROM table_name;
Select * from table where col_date::date = now()::date;
SELECT DATE(column_name) FROM table_name;