Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get age from dob

Simple method for calculating Age from dob: $_age = floor((time() - strtotime('1986-09-16')) / 31556926); 31556926 is the number of seconds in a year.
 
PREVIOUS NEXT
Tagged: #php #age #dob
ADD COMMENT
Topic
Name
8+3 =