I am new to Salesforce and need to know how to implement a months between dates fromula. The formula needs to be created in Flow Builder as a formula resource. Most of the examples I looked at refers to Apex.
1 Answer
This formula can be utilized to get month difference in Flow.
MONTH( {!EndDate}) + 12 - MONTH( {!StartDate}) + 12 * (YEAR(EndDate) - YEAR(StartDate) -1)
StartDate - A variable of Date Type
EndDate - A variable of Date Type
DateDiff - A Variable of Number Type