0

I'm pretty new to salesforce, and the only closely related information I could find related to the subject matter was provided in this link. I'm basically working in a flow builder and I want to find the days between two dates. I'm looking something similar to this. DAY({!EndDate}) - DAY({!StartDate}) * MONTH( {!EndDate}) + 12 - MONTH( {!StartDate}) + 12 * (YEAR(EndDate) - YEAR(StartDate) -1) which should roughly give the answer equal to 2, if the start date is 18, march 2020, and the end date is 20, march 2020. The above formula may not be correct. Any sort of help will be appreciated.

2

Days between two dates (assuming both fields are of type Date)

{!EndDate} - {!StartDate}

The link you provided in the OP was for getting the months between dates which is a harder problem than days between dates

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.