convert-date-to-text
Last updated
convert-date-to-text adaptor can be used to convert a date/time value to text in a specified format.
If no input value is provided, the current date/time will be used.
value
Type: text
Required: No
The input date/time value. If unspecified, the current date/time will be used.
format
Type: text
Required: No
The format of data in column one based on Unicode Technical Standard #35. If unspecified, defaults to ISO 8601 date/time.
locale
Type: text
Required: No
A language locale to be used when formatting the values. If unspecified, it defaults to en-US.
timezone
Type: text
Required: No
The three letter code of the timezone (e.g., UTC).
text
Type: text
The date as a formatted text.
No inputs provided.
text: 2020-02-28T08:00:00+00:00
-> As no inputs were provided, the current date/time was retuned.
format: MM/dd/yyyy
text: 02/28/2020
-> Provided a format to return a month-day-year date string.
format: HH:mm
text: 08:00
-> Provided a format to return only the current time.
format: MMMM
locale: es
text: febrero
-> In this example, we set locale input to es (the ISO 639 language code for Spanish) to get the name of the current month in Spanish.
Adding a timestamp by leaving the input date/time blank.
Last updated