The column type is DATE (a predefined MySQL column type), which is represented as 'YYYY-MM-DD' if you extract the column as a string.
Are you saying you want to check whether the person's age is >= 23 years?
MySQL has built-in functions for doing date arithmetic. For example, this query will select users whose age is >= 23 years:
SELECT * FROM w3t_Users WHERE U_DOB <= DATE_SUB(NOW(), INTERVAL 23 YEAR)
Last edited by Dave_L; 09/02/2003 6:58 AM.