title: Comparing two Dates using strtotime() in PHP
body: <p>I have two variables containing strings of dates in the format </p>
  
  <pre><code>$four_days_have_passed = "07-14-2013";
  $now = "07-10-2013";
  </code></pre>
  
  <p>I have checked the output in FirePHP and the dates are correct.</p>
  
  <p>Then I try to compare them like this,</p>
  
  <pre><code>if (strtotime($now) &lt; strtotime($four_days_have_passed))
  {
    Do Stuff
  }
  </code></pre>
  
  <p>Why does the code inside the IF statement never execute?</p>