title: PHP calculate age with birthtime (Y-m-d\TH:i:sO)
body: <p>I'm trying to calculate an age in php, but just want to increase the age if the birthtime is also reached, not only the birthday date. Here is what I got so far:</p>
  
  <pre><code>$today = date("Y-m-d\TH:i:sO");
  $bday = "1987-01-01T15:30:00+0200";
  $diff = abs(strtotime($bday) - strtotime($today));
  $age = floor($diff / (365*60*60*24));
  </code></pre>
  
  <p>It works if the day is reached, but is not time-sensitive. I appreciate any help!</p>