Convert DOB time stamp to Age using PHP?

Matthew T

New member
Hi

I have members DOB stored in a mysql table field called birthday in the following format YYYY-MM-DD

I can't seem to convert the time stamp into the members age

Anyone have any ideas?
I have tried that on freebert site, but it doesn't work

I need to be able to feed $birthday which is in the above format and then use php code to convert to age
 
Back
Top