Harmonizing the date format - 7.3

Talend Data Preparation Examples

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Data Preparation
Content
Data Quality and Preparation > Cleansing data
Last publication date
2023-08-07

The Date column stores the information about the subscription date to the online service.

In this case, you have noticed that at least three different types of file format are used in the same column:

  • dd/MM/yyyy
  • MM/dd/yyyy
  • MM-dd-yyyy

You will give the column a more meaningful name, and harmonize the date format used in the column.

Procedure

  1. To rename the Date column, double click the column name.
  2. Type subscription_date and press Enter.
    The column has been renamed to better describe its content, that you will now harmonize.
  3. In the Functions panel, search for the Change date format function and click it.

    A menu with the options for the dedicated function opens.

  4. In the New format list, select the new format to apply to the whole column, in this case, click French standard to use the dd/MM/yy format.

Results

The column containing the subscription dates is now easier to read, with a proper title and a unified format.