Convert date to timestamp in Postgres.