Implement a date validator for making sure start dates are before end dates.