this is fine ,but now I have the sp rule in which it is returning no of months fox ex: 6 months. i need to use this 6 or 12 or 24 months with the date and convert into months , how will i do that?
Do you mean how do I convert, for example 18 months into 1.5 years? or 9 months into 0.75 years? If so, that's a pretty straightforward calculation - divide your number by 12 and, perhaps, express the value to 2 decimals points.
If that's not what you meant perhaps you can elaborate on your requirement?
yes I have the sp rule in which it is returning me no of months in terms of days(for ex: 6 months or 12 months in 6 or 12),I need to convert that days (6 days into months) with the date, how i can do this? I need do use sp output only.
Now you're introducing "days" into the discussion and you have lost me...I don't understand what you're trying to achieve. Can you provide more detail please.