Correcting the date format.