<?php function get_age($birth_date){ return floor((time() - strtotime($birth_date))/31556926); } echo " I am ".get_age("2000-05-10") ." years old"; ?>
<?php function get_age($birth_date){ return floor((time() - strtotime($birth_date))/31556926); } echo " I am ".get_age("2000-05-10") ." years old"; ?>
Journalist/Social Justice Campaigner/Education & Business Consultant
We’re just inviting you to take a timeout into the rhythmic ambiance of our breakfast, brunch and/or coffee selections. We are happy whenever you stop by.
Authorship and mothership explored.
Dive into pool of artists imagination
Atlanta's Inspiration Radio Station | Gospel radio station, gospel news, Stellar Awards, exclusive celebrity interviews, WPZE, Atlanta events, radio sweepstakes, Get Up! Mornings With Erica Campbell, Willie Moore JR. Show, entertainment news, southern recipes, and lifestyle advice.
By Lisa Smith Molinari
Information Techonology
Because the internet doesn't have quite enough blogs yet
Serving up reason from the North and logic from the South
Welcome to WordBowl! How it works: Folks like you send word suggestions (look below for link, or submit to wordbowl@gmail.com). I draw one at random and have my essayish-or-fictional way with it (handwriting in bars & coffee shops all over NYC). Let the word games begin!
Beirut-based Fiction & Other Writings
Fatherhood's Finest Hour
A National Platform for the Next Generation of Humanist Thinkers
The Place Where the Laugh Laughs at the Laugh
Jess Dewes | Words + Pictures
One thought on “php function to calculate age from date of birth”