I have an enrolment project and user get subject on the list. Now how to check the time is conflicting with others? The variables are strings and my teacher wants that format only.
var time1 = '10:00:AM-12:00:PM';
var time2 = '10:30:AM-11:00:AM';
How can I check the time2 is conflicting with time1? Is there a jquery library that might be helpful?