Re: determining age from birthdate
| From: | David Tod Sigafoos | Date: | Wed, 29 Nov 2000 21:48:13 +0000 |
| Subject: | Re: determining age from birthdate | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27892@lists.php.net to get a copy of this message | ||
Hello Paul,
Wednesday, November 29, 2000, 1:22:24 PM, you wrote:
PT> I have all the parts of a birth date and i want to determine the present age
PT> of the person submitting the data. How can I do this with PHP?
try using strtotime to convert the 'external' date to the unix
timedate stamp for both dates .. subract then format back to date
--
DSig
David Tod Sigafoos
mailto:dsig@teleport.com
Using 'The Bat' 1.48 Beta/8
`````
( O O )
_______oOOo__( )__oOOo_______