title: Datetime Difference Error
body: <p>I have a problem when I use difference of the datetime.</p>
  
  <p>Here is the php code</p>
  
  <pre><code>$datetime1 = new DateTime('2009-10-11');
  $datetime2 = new DateTime('2009-10-13');
  $interval = $datetime1-&gt;diff($datetime2);
  echo $interval-&gt;days;
  </code></pre>
  
  <p>The correct result should be 2. But unfortunately it results <code>6015</code>. Even when I change the date, its still <code>6015</code>. Did you guys encounter this problem? I tried to run the script from other computer but its working.</p>