function getAge($dob) { return date("Y", time() - strtotime($dob)) - 1970; } echo getAge($dob);
Post a Comment
No comments:
Post a Comment