Talend Data Preparation supports many different date formats, which you can harmonize to improve your data.
You can see in the SubDate column that even if your data respects
the semantic type set as
date, they do not follow only one date format.
As a consequence, European and American standards,
/ are coexisting.
You are going to harmonize the SubDate column and set only one date format for all your data. To do so:
Click the header of the SubDate column to select its
In the statistics box on the bottom right, click
This tab gives you a better view of the different date formats currently used. Some dates follow the European standard, while other follow the American format. In any case, you can see that the
dd-MMM-yyyyformat is the most commonly used.
To standardize the date format, click Change date
format... in the functions list.
A menu opens, where you can specify the current date formats, and the desired one.
- In the Current format drop-down list, leave I don't know, best guess selected.
- In the New format drop-down list, select Other.
In the Your format field, type
dd-MMM-yyyyformat is the most suited since it is the one that already had the most occurrences.
The SubDate column now follows only one date format, which make it easier to read. You can also notice that the recipe highlights your last action and it is even possible to modify the date format again, directly from the recipe.