Translate datetime format
Description
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.
Data types
These are the input/output expected data types for this operation:
Input data
- Strings representing the dates you want to convert.
Output data
- Output formatted date strings.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Example
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:
05-20-2023 10:10:45 -> Sat, 20 May 2023 10:10:45 +0000
Last updated
Was this helpful?