Formatting the date.