php get age from dob

Solutions on MaxInterview for php get age from dob by the best coders in the world

showing results for - "php get age from dob"
Maja
12 Feb 2019
1Simple method for calculating Age from dob: $_age = floor((time() - strtotime('1986-09-16')) / 31556926); 31556926 is the number of seconds in a year.