Formatter
Last updated
Was this helpful?
Last updated
Was this helpful?
Formatter is used to format the given data. It is designed to handle the conversion of data between different formats, such as CSV, string, XML, and JSON. Also, the formatter provides the ability to generate the timestamp and convert between timezones. This tool facilitates the transformation of data to and from the JSON format, offering seamless interoperability.
Data (to be formatted) - the data that will be formatted according to the selected Formatter Action
Formatter Action - action to be applied to the above data
Delimiter - Separator used in CSV. Applicable to JSON to CSV
and CSV to JSON
options. ,
is the default value.
From Time Zone - Applicable only to
To Time Zone - Applicable only to
Output Format - Applicable only to
Converts JSON to Stringified JSON.
Converts stringified JSON to JSON.
Converts XML to JSON format
Converts JSON to CSV format
Converts CSV to JSON format. New lines can be entered as a new line or as \n
Option to generate a timestamp from a given date time.
Usage Example
Data (to be formatted): Enter the date and time from which you want to generate a timestamp.
From Time Zone: Select the time zone of the input date and time you want to convert the timestamp to.
Option to convert date and time from one timezone to another. This is particularly useful when you need to work with date and time data originating from different locations around the world.
Usage Example
Data (to be formatted): Enter the date and time you want to convert
For date-time input: Provide your date-time input.
From Time Zone: Select the original time zone of the input date and time.
To Time Zone: Choose the target time zone to which you want to convert the input date and time.
Output Date Format: Specify the desired format for the converted date and time. You can use the format codes described below to define the format as per your requirements.
The "Convert Timezone" option will provide the date and time converted to the specified target time zone, formatted according to your specified output date format.
%d
27
numerical representation of day
%a
Sat
short alphabetical representation of day
%A
Saturday
alphabetical representation of day
%m
01
numerical representation of month
%b
Jan
short alphabetical representation of month
%B
January
alphabetical representation of month
%y
18
short representation of year
%Y
2018
numerical representation of year
%H
10
hour
%M
30
minute
%f
012345
microseconds
%p
AM
meridiem
%z
+0530
timezone offset
2021-05-27 01:30:00 PM
%Y-%m-%d %H:%M:%S %p
2021-05-12T09:46:47-0400
%Y-%m-%dT%H:%M:%S%z
Sat, 27 Jan 2018 17:16:55 +0000
%a, %d %b %Y %H:%M:%S %z
2018-01-27T13:34:25.518993+0530
%Y-%m-%dT%H:%M:%S.%f%z
Refer for the datetime structure format
Refer for the datetime structure format