forcing the user to enter the two dates