MONTHDIFF

Calculates the difference in completed months between the start date and end date.

Formula Syntax

MONTHDIFF(StartDate, EndDate)

StartDate: the earliest date in the period being calculated.

EndDate: the latest date in the period being calculated.

Additional Comments

If start date is greater than end date, 0 is returned

Examples

MONTHDIFF(DATE(1,1,2015), DATE(1,1,2016)) equals 12

MONTHDIFF(DATE(1,1,2015), DATE(1,31,2015)) equals 0

PensionSoft Corporation | 860.540.3690 | support@pensionsoft.com