Fix dates to be without hours, minutes, seconds and milliseconds