Convert age to date problem
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?
What will be the formats for $MinAge and $MaxAge ? are they integers ?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)