Same day appointment booking cut-off time

How do I restrict availability of Appointments? I want same day appointments to have a cut-off time of 12pm, so clients can get an appointment for the same day as long as they book by 12pm.

Thanks