mysql get date diff in months
snippet in sql

mysql get date diff in months

user5379

SELECT TIMESTAMPDIFF(MONTH, '2012-05-05', '2012-06-15')