[PHP] Getting age from yyyy-mm-dd

2004-02-18 Thread Ryan A
Hi, I'm working on a set of scripts not written by me. Theres a date_of_birth field there that has the values in this format -MM-DD, the client wants me to print out the age of the person from that...looking in the manual (http://se.php.net/manual/en/function.date.php) I think I will need to

RE: [PHP] Getting age from yyyy-mm-dd

2004-02-18 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Wednesday, February 18, 2004 8:19 AM said: I think I will need to use mktimebut how?? Any help appreciated, in URL form, hints or PHP manual references. well i think the idea is to convert the date/time of the person's birthday into a unix timestamp

Re: [PHP] Getting age from yyyy-mm-dd

2004-02-18 Thread John W. Holmes
From: Ryan A [EMAIL PROTECTED] Theres a date_of_birth field there that has the values in this format -MM-DD, the client wants me to print out the age of the person from that...looking in the manual (http://se.php.net/manual/en/function.date.php) I think I will need to use mktimebut