String to Date funciton in Dateutils