You can calculate total number of months between two dates
by using Datedif Function. Datedif Function takes three
parameter like Start Date End Date and Third parameter
could be different for different need. For months, we
can pass M as third parameter.