Translate Datetime Format
Last updated
Last updated
This operation allows you to convert dates and times from one format to another. This is useful for standardizing timestamps, converting between systems with different date/time formats, or simply making a date more readable.
These are the input/output expected data types for this operation:
- Strings representing the dates you want to convert.
- Output formatted date strings.
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Suppose you want to convert a series of dates in the following format:
MM-DD-YYYY HH:mm:ss
into this one:
ddd, D MMM YYYY HH:mm:ss ZZ
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Translate Datetime Format.
Set Input Format to 01-02-2006 15:04:05
Set Input Timezone to UTC+1
Set Output Format to Mon, 2 Jan 2006 15:04:05 +0000
Set Output Timezone to UTC+1
Give your Output field a name and click Save. The format of the dates in your input field will be transformed. For example:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.