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
          Format Dates Transformation: Standardize the Date Format in a Column

          Format Dates Transformation: Standardize the Date Format in a Column

          Standardize the format for all dates in a text column with the Format Dates transformation. With a consistent format, you can correctly filter and group records by date, including filtering by date component, such as month. A consistent format also ensures that you can successfully convert the column type from Text to Date.

          1. In a Transform node, select the text column that contains dates in the Preview tab.
          2. In the Transform toolbar, click the Format Dates button (Format Dates button).
          3. Enter the original date formats in the selected column. The Date Format transformation assumes the first matching format shown in the Original Formats search box is the correct one. For example, if a date is 01/06/2023, the date format could be dd/MM/yyyy or MM/dd/yyyy.
          4. Select the desired date format in the Change To field.
          5. To convert a text column with dates to a Date column type, select Convert column type to Date.
          6. Under Show Results In, select whether the new values appear in a new column and whether to keep the original column.
          7. If you elect to create a column, set the label under Column Label.
          8. To add the transformation to the Transform node, click Apply.
          9. To view the canvas area, click the Collapse button (Collapse button).

          When you run the batch data transform, the transformation replaces the dates in the existing column with dates in the specified format. If the transformation can't determine the date's original format or the date doesn’t have a value for a date component, then it replaces the date with null. For example, if you standardize on the MM/dd/yyyy:hh:mm:sssz format and a date value doesn’t have the seconds date component (sssz), then the transformation replaces the date with null.

           
          Loading
          Salesforce Help | Article