title: how to check if one date comes before anotherone in javascript
body: <p>I have 2 dates and I one to check if one date comes before another one. 
  I know you have to parse the date to a JS date object and then check it with milliseconds.</p>
  
  <p>But the problem is, in my database dateTimes are stored like this. </p>
  
  <pre><code>10-mei-2012 09:36
  </code></pre>
  
  <p>So my question is how can I compare two of these dates and check that date 1 comes before date2? Oh and for the record, I am also using jquery to get these values.</p>
  
  <pre><code>var dateB = $('#DATUM_BEGIN').val();
  var dateE = $('#DATUM_EINDE').val();
  </code></pre>
  
  <p>kind regards</p>
  
  <p>Stef</p>