how to get the today data in psql date time column code example Example: postgre query date SELECT * FROM data WHERE date = '2020-12-21'