hi all,

I need your help in solving the below issue.

I have two dates in two different years. I would like to know the number of months in between the dates by year. I would explain it with an example for better understanding.

Following are the dates that I have - 1/1/2012 & 3/2/2013.

I can calculate the number of months between these two dates; but what I want is the numbers of months in 2012(ie - 12months) & and the number of months in 2013(3 months).


Appreciate your help in this regard as this is really urgent