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.

1 Answer 1

3

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
  • Thank you! that worked out! Mar 31, 2021 at 9:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .