title: compare dates not working
body: <p>Hallo,</p>
  
  <p>I am comparing 2 dates. It is clear that $db_minus7 is greater so the value of $can_invoiced should be 'maybe' but it is 'Yes'. When i execute.</p>
  
  <pre><code>&lt;?php
  
  $db_minus7 = '2010-07-05 09:45:29.420';
  $completion_date = '30.07.2009';
  if(date("m-d-Y",strtotime($db_minus7)) &gt; date("m-d-Y",strtotime($completion_date))) {
      $can_invoiced = 'maybe';
  } else {
      $can_invoiced = 'Yes';
  }
  
  echo $can_invoiced;
  
  ?&gt;
  </code></pre>
  
  <p>please help</p>