Start date and end date must be valid dates