- Ammended "identify date" function to take in account the date format