Remove unnecessary logic to break a date in year, month and day.