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
Have you tried to cast it to a date, with <mydatetime>::date ?
<mydatetime>::date