Learn How to Create Your Own Programming Language http://createyourproglang.com
Professional Code Audit & Refactoring Service http://sauteapps.com
How to get age from given birthdate
1 2 3 4 5
<?php function getAge($birthdate) { return floor((time() - strtotime($birthdate))/(60*60*24*365.2425)); } ?>
No refactoring yet !
Name
Email
Website
Comment
Format Copy from initial code Code
How to get age from given birthdate