如何计算MVC3中两个给定日期之间的月份

问题描述:

大家好,



我被分配了一些任务,为此,我需要计算两个给定日期之间的月数。我尝试了所有我能做到但未能做到的事情。

请帮助!!!!

Hello everyone,

I have been assigned with some task and to do that I need to calculate months between two given dates. I tried everything I can but failed to do so.
Please HELP!!!!

查看下面的链接。类似的问题已由用户回答和推荐:



http://*.com/questions/4638993/difference-in-months-between-two-dates [ ^ ]
Check the link below. A similar question is already answered and upvoted by users:

http://*.com/questions/4638993/difference-in-months-between-two-dates[^]