Translate datetime NITES format
Description
This operation parses a datetime string in one format and rewrites it in another format, taking into account both the input and output time zones. This is useful for applications that need to handle and display datetime values in various formats and time zones.
For the complete format reference and additional documentation, see the gotime Nites Format Documentation.
Supported formats
The operation supports a comprehensive set of format tokens for both input and output formats:
Predefined format constants
The operation also supports several predefined format constants for common use cases:
Timezone support
The following time zones are supported for both the Input timezone and the Output timezone parameters:
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:
yyyy-mm-dd hhh:ii:ss
into this one:
dd-mm-yyyy hhh:ii:ss
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose Translate Datetime NITES Format.
Set Input Format to
yyyy-mm-dd hhh:ii:ss
Set Input Timezone to
UTC
Set Output Format to
dd-mm-yyyy hhh:ii:ss
Set Output Timezone to
America/Los_Angeles
Give your Output field a name and click Save. The format of the dates in your input field will be transformed. For example:
2023-06-15 14:30:00 -> 15-06-2023 07:30:00
Last updated
Was this helpful?