Postgresql Get First Word From String To Datetime