Skip to content

Custom date format

Description

The Custom Date Format activity allows you to standardize or localize date values from a specific column by converting them into a desired format. This is especially useful when handling inconsistent date formats across systems or preparing data for reports and user-facing outputs.

You can define the output format, locale (for language and formatting conventions), and time zone to ensure the date is rendered exactly as needed for downstream processes or user regions. You can also choose to keep the original column or include only the formatted result.

Use case: Convert ISO dates or region-specific formats into a consistent MM/DD/YYYY format based on en-US locale for a dashboard export.


Input

Input TypeRequired
DataRequired

Output

Output TypeFormatDescription
DataTabularReturns input data along with a new column containing the formatted date values.

Configuration Fields

Field NameRequiredDescription
Column nameYesSpecifies the column containing the date values to be transformed. Must contain recognizable date strings.
Date formatYesDefines the format in which the output date should be displayed (e.g., MM/DD/YYYY, DD-MM-YYYY).
LocaleYesIndicates the cultural formatting standard to apply (e.g., en-US, fr-FR, ja-JP). Affects month names, separators, etc.
Time zoneYesDetermines the time zone context for interpreting the input dates (e.g., UTC, Asia/Kolkata).
Output columnYesThe name of the new column that will store the formatted date values.
Include originalYesIf true, keeps the original input data and appends the new column. If false, returns only the new output column.

Sample Input

idnameenrollmentDatelastAccessdobgraduationDate
1Alice Johnson2023-01-1501/15/20232002-05-10T00:00:002026-05-15
2Bob Smith15-02-202315-Feb-20232003/04/122027-05-20
3Charlie Brown2023.03.1010 Mar 202310-06-20012025-12-30T23:59:59
4Daisy Adams2023/04/01April 1, 20232000-09-21T12:30:00Z2024/06/15

Sample Configuration

FieldValue
Column nameenrollmentDate
Date formatMM/DD/YYYY
Localeen-US
Time zoneAsia/Kolkata
Output columnEnrollment_US
Include originaltrue

Sample Output

idnameenrollmentDatelastAccessdobgraduationDateEnrollment_US
1Alice Johnson2023-01-1501/15/20232002-05-10T00:00:002026-05-1501/15/2023
2Bob Smith15-02-202315-Feb-20232003/04/122027-05-2002/15/2023
3Charlie Brown2023.03.1010 Mar 202310-06-20012025-12-30T23:59:5903/10/2023
4Daisy Adams2023/04/01April 1, 20232000-09-21T12:30:00Z2024/06/1504/01/2023