How do you get someone's age from DOB?
- From: "comp.lang.php" <phillip.s.powell@xxxxxxxxx>
- Date: 30 Jan 2006 11:14:25 -0800
Dangit I thought I could do THIS simple task today and even this is
beyond me!! :(
[code]
<?= date(time()) - date(strtotime($result[0]->birth)) ?>
[/code]
This is completely wrong, but what IS right? I'm stumped!
Thanx
Phil
.
- Follow-Ups:
- Re: How do you get someone's age from DOB?
- From: Justin Koivisto
- Re: How do you get someone's age from DOB?
- From: Kim André Akerø
- Re: How do you get someone's age from DOB?
- Prev by Date: need help getting php working
- Next by Date: Re: How do you get someone's age from DOB?
- Previous by thread: need help getting php working
- Next by thread: Re: How do you get someone's age from DOB?
- Index(es):