mysql> mysql> SELECT TIMESTAMPDIFF(YEAR,'2002-05-01','2001-01-01'); +-----------------------------------------------+ | TIMESTAMPDIFF(YEAR,'2002-05-01','2001-01-01') | +-----------------------------------------------+ | -1 | +-----------------------------------------------+ 1 row in set (0.00 sec) mysql>