Hi I need to calculate the difference between two dates and output can be one of these -- days or months or years and the output calculates all part so it can be in fraction also.
e.g:
24.03.15-14.04.15 (in days)=-21
24.03.15-14.04.15 (in months)=-0.75
24.03.15-14.04.15 (in years)=-1/12
Not able to calculate this.
Please explain it.