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
- A. Create a formula field using the ADDMONTHS() function
- B. Use Process Builder and set Overdue Date equal to DueDate + 60
- C. Create a formula field using DueDate + 60
- D. Use Process Builder and set Overdue Date equal to DueDate + ((365/12) * 2)
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.