Dear Reader,
How to calculate someone's age from a birthday?
I Tried:
<?php
$birthday = "1984-10-11";
$today = Date(Y-m-d);
$age = $today - $birthday;
print $age;
?>
but this doesn't work correct. because it says I'm 18 🙂 while i'm still 17
Greetz,
Kasper