I am trying to find the difference between dates in "months". I have refferred to the following documentation on usage of "months" function and I even tried out the example given in the documentation but all I get is an error.
Code: MyMonths = months('may 31 2000', 'jun 30 2000', 1)
Error: Check for missing argument or incorrect argument data type in call to function 'months'.
What am I missing?