How to tell if string time-A is before time-B?
<p>if I have 4 variables</p>

<p>startTime;
endTime;
startMerid;
endMerid;</p>

<p>startMarid and endMarid are either going to be 'AM' or 'PM'.</p>

<p>but startTime and endTime are going to be strings like 'dd:dd'</p>

<p>so it may be start:<code>12:30 PM</code> and end:<code>5:30 PM</code></p>

<p>How can I validate that the end time is not before the start time?</p>

<p>Thanks!!</p>
