Postgres date/timestamp compatibility

Postgress handles differently date/datetime/timestamp