<?php function get_age($birth_date){ return int((time() - strtotime($birth_date))/31556926); } echo " I am ".get_age("1990-12-30") ." years old";
You have javascript disabled. You will not be able to edit any code.