receiving 2 dates from form