Function: diffMonths()

Usage

diffMonths(<Date>, <Date>) : Number

The diffMonths function is used to return the difference, in months, between the two specified date parameters.

Examples

When you use static dates, you need to enclose the value with the # symbol. The date should be in the following format - dd/mm/yyyy hh:mm

diffMonths(#01/02/2021 12:00#, #01/05/2021 12:00#) => 3

Learn more about how you can get started using the Formula Field.

What would you improve in this article?
Powered by:

Type above and the results will be displayed here.