I have a schedule where I register an appointment, this appointment has Hora Inicial
and Hora Final
. But now when I register a new appointment I have to do a check to see if the hours are not between the hours already registered. Example:
I have an appointment with Start Time 13:00
and End Time: 14:00
As of today. How do I check this period of time to not allow anything to be recorded in this range of 13:00
as 14:00
?