gummiost on 12/28/12
Last Edited at 12/28/12 10:01pm
function get_age($birthday){ $birth = strtotime($birthday); $now = strtotime('now'); $age = ($now - $birth) / 31536000; echo floor($age);} get_age('15 march 1984');
Report this snippet Tweet
Comment:
You need to login to post a comment.