Direct calculation, to obtain two dates and the month of the year, month difference = (second year - the first year) * 12 + second month - the first month
Reproduced in: https: //www.cnblogs.com/pretty-guy/p/3284593.html
Direct calculation, to obtain two dates and the month of the year, month difference = (second year - the first year) * 12 + second month - the first month
Reproduced in: https: //www.cnblogs.com/pretty-guy/p/3284593.html