String Functions In Postgres Sql Syntax For Date