Salesforce formula get difference between two dates

Note:

I have used this formula to get the renewal opp duration which I have created in my previous post.


Assignment (don't mind the variable name)


{!SObjectV_OLI.Service_End_Date__c} +({!SObjectV_OLI.Service_End_Date__c} - {!SObjectV_OLI.Service_Start_Date__c})



{!SObjectV_OLI.Service_Start_Date__c} + 1 + ({!SObjectV_OLI.Service_End_Date__c} - {!SObjectV_OLI.Service_Start_Date__c})

Comments

Popular posts from this blog

How to fix SoapUI freeze in Mac OS

[WSO2 Open Source Enterprise Solutions] Integration: People-HR

Salesforce Auto generate renewal Opportunity with Line Items (i.e. Opportunity Products)