title: Wrong value when minus 2 date
body: <p>I get the wrong value when I subtract two dates.
  This is my code:</p>
  
  <pre><code>$date2=strtotime('01-08-2014');
  $date1=strtotime('28-06-2014');
  $diff=$date2-$date1;
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>$diff=-27
  </code></pre>
  
  <p>EDIT : </p>
  
  <pre><code>$date2 should be --&gt; date('d/m/Y',strtotime('01-08-2014'));
  $date1 should be --&gt; date('d/m/Y',strtotime('28-06-2014'));
  </code></pre>
  
  <p>Can anyone solve my problem?</p>
  
  <p>thanks</p>