Is there any PHP function to convert current age to date in YYYY-MM-DD format.
I stored the DOB in YYYY-MM-DD format and I want to run the SQLite query
SELECT FirstName FROM mytable WHERE DOB >= $MinAge AND DOB <= '$MaxAge';
I m using PHP with SQLITE
I searched google to convert age to date format but could not find any function, is there anyone who can help?