Salesforce Certified Platform App Builder — Question 4

An app builder has been asked to display an Overdue Date that is two months after a Task's Due Date.
Which approach should the app builder take?

Answer options

Correct answer: A

Explanation

The correct answer is A because the ADDMONTHS() function is specifically designed to add a specified number of months to a date, which directly meets the requirement. Options B and C do not account for variations in month lengths, making them less reliable for calculating two months later, while option D uses a generic average which may not always yield an accurate two-month result.