Re: determining age from birthdate

From: Date: Wed, 29 Nov 2000 22:50:35 +0000
Subject: Re: determining age from birthdate
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27900@lists.php.net to get a copy of this message
$age = (date("Y") - date("Y",mktime(0,0,0,$birth_month,$birth_day,$birth_year))); --Joe On Wed, Nov 29, 2000 at 09:22:24PM +0000, Paul Tuohy wrote: > I have all the parts of a birth date and i want to determine the present age > of the person submitting the data. How can I do this with PHP? > > the birth date info comes to me in this form: > > Year: 'yyyy' > month: 'mm' > day: 'dd' > _____________________________________________________________________________________ > Get more from the Web. FREE MSN Explorer download : > http://explorer.msn.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net ================================================================================ = Joe Stump joestump98@yahoo.com http://www.miester.org = ================================================================================ Need a programmer? http://www.google.com/search?q=%22Joe+Stump%22

« previous php.general (#27900) next »