Finding number of months between two dates including extra days?
<p>i have a requirement where i need to find out number of months between two dates. i tried few examples but all are excluding number of extra days. please see in below example?</p>

<pre><code>2010/03/22 -- fromdate
2010/05/30 -- todate
</code></pre>

<p>if we find diff between those dates then it is returning 2 months.here it is excluding 8 extra days. i need out put as <strong>2.8</strong>(<code>2 months and 8 days</code>). how can i achieve it?</p>

<p>Thanks!</p>
