I want to extract just the date part from a timestamp in PostgreSQL.
I need it to be a postgresql DATE type so I can insert it into another table that e
DATE
This works for me in python 2.7
select some_date::DATE from some_table;