title: How to compare time with AM PM in JavaScript
body: <p>I have two strings as follows:</p>
  
  <p>var a = "11/24/2014 3:10 PM"
  var b = "11/23/2014 7:45 AM"</p>
  
  <p>How can I compare them with JavaScript, so that I could show that the time for var b happens before var a?</p>