MonthDiff Function

  • Updated

The MonthDiff function returns the number of months between two Date values.

Syntax

 

The MonthDiff function returns the number of months between two Date values.

 

MonthDiff(start, end)

 

 

Arguments:

 

 

 

start

DateTime - The starting Date or DateTime expression.

 

 

end

DateTime - The ending Date or DateTime expression.

Remarks

  • Example: MonthDiff("5/1/2000", "6/1/2001") returns 13.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.