Return the number of whole months between startdate and enddate. endmonthflag defaults to 1.
If endmonthflag is true, then if both the startdate and the enddate are end of month dates and enddate has fewer days in the month than startdate, endmonthflag = 1 treats enddate as the end of a month, but endmonthflag = 0 does not.
See also: yeardays, yearfrac.
Package: financial