I have this stored in DB for users
1983-04-21
so $dob = 1983-04-21;
Anyone have a function that could use this date format to show "24 Years Old"
SELECT DATE_FORMAT(FROM_DAYS(DATEDIFF( CURRENT_DATE(), '1983-04-21') ), '%y Years Old' )
anyone else have a code that will work with my current setup?
What aspect of your setup prevents the code from working?