title: Compare 2 dates in format DD/MM/YYYY with javascript/jquery
body: <p>Suppose I receive two dates from the datepicker plugin in format <code>DD/MM/YYYY</code></p>
  
  <pre><code>var date1 = '25/02/1985';  /*february 25th*/
  var date2 = '26/02/1985';  /*february 26th*/
  /*this dates are results form datepicker*/
  
  if(process(date2) &gt; process(date1)){
     alert(date2 + 'is later than ' + date1);
  }
  </code></pre>
  
  <p>What should this function look like?</p>
  
  <pre><code>function process(date){
     var date;
     // Do something
     return date;
  }
  </code></pre>