In mysql, we can do the following for adding months:
SELECT DATE_ADD('2014-08-20', INTERVAL 13 MONTH); //Result: 2015-09-20
Is there any way to do the reversed operation ? Example:
SELECT DIFF_IN_MONTHS('2015-09-20', '2014-08-20') //Result: 13
Roundings due to day differences are not a problem for me.