Adjust the beginning and the end of the function ReadBetweenDates.