Loading
Salesforce now sends email only from verified domains. Read More
About Salesforce Data 360
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Date Difference

          Date Difference

          Calculate the duration between two selected date columns as days, months, or years.

          1. In a Transform node, select one date column in the Preview tab.
          2. Select the Formula button (Formula button) in the Transform toolbar.
          3. Select Date Difference.
          4. Configure the transformation.
            The Duration menu appears when you select Date Difference.
            1. The start date is automatically filled with the date column you previously chose. To choose a different start date, cancel and restart.
            2. The end date is the value used to calculate the duration from the start date. Choose a date column from your data or the Now option to use the current date and time.
            3. Select whether to return duration as days, months, or years. Days are rounded up to the nearest value, while months and years include the selected number of decimal places.
          5. Optionally, change the label of the column that stores the result in the Column Label field.
          6. To add the transformation to the Transform node, click Apply. The Preview tab shows the new Now column.
            Preview shows the new Duration column.
          7. To view the canvas area, click the Collapse button Collapse button.

          After you run the batch data transform, you can view the calculated duration. The Now option uses the date and time when the batch data transform last ran, based on the UTC timezone.

           
          Loading
          Salesforce Help | Article