DateDiff calculates incorrect:
DateDiff("m", "30/06/2011", "24/06/2012") will return 12
But i need to return 11,because real difference is 11 months and 25 days
Maybe anyone have specific solution for this question
That will be ideal for me: 11 months and 25 days
Here’s a cleaner solution than the above custom made function. Mostly it uses the built-in DateDiff function, but then adjusts the answer if it rounds up.
My function will also give you the difference even if the the first date is later than the second and optionally add some text saying so.