I have two dates and want difference result in months
currently i m using :
dtResult = dtExp.Subtract(dtReg);
intDays = dtResult.Days;
months = intDays / 30;
but it is giving wrong ans when there is one month difference....
can anyone help me
thx in advance