mysql> mysql> SELECT TIMESTAMPDIFF(MONTH,'2003-02-01','2003-05-01'); +------------------------------------------------+ | TIMESTAMPDIFF(MONTH,'2003-02-01','2003-05-01') | +------------------------------------------------+ | 3 | +------------------------------------------------+ 1 row in set (0.00 sec) mysql>