Actually, that was me that replied, not Hal.
I know it won't be exact but it wasn't supposed to be. Every month has a different number of days to it (28, 30, 31) plus you have to account for leap years, so you will likely have to write a function that does a little more work than this. I thought all you wanted was an estimation of the total months - in your first example (2.5) months or roughly 2 1/2 months.
J
|