title: Remove Time from a Date column
body: <p>We are migrating our Database from Oracle to PostgreSQL. </p>
  
  <p>Currently we are using trunc(date) to remove time from a date column.<br>
  I would like to know a common solution that works for both Oracle as well as postgreSQL db?</p>