Standardizing the date string