Change date to start and end dates.