Updated the appointment time validation