Hi Caz,
I've attached an example which implements the formulae I posted above. For 1 Jan 12 vs. 29 Mar 12 it gives the result of 2 which I believe is what you want.
Note the formula in D2 is just a helper, so that the formulae in D4 to D9 are simpler.
If it's not returning the correct results then please elaborate.