Convert Date Time To Text Step

Brief description

This step converts the input datetime variable to the new or existing string variable of the defined datetime format type (examples of use)

Step Information

Step name (Not required) the custom name of the process step that labels the editor’s process step box

Input parameters

Source datetime variable (Required)– existing variable name of datetime data type that specifies the input value

Date format (Required)– the value that defines the custom datetime format type of the resulting string variable (e.g. dd.MM.yyyy)

Output parameters

Destination text variable (Required)– existing or new variable name of string data type that contains the resulting value

Additional comment

You can use either standard or custom formats to convert dates, times, or parts of them.

 

When using a custom format, you can integrate it with other text, but you need to be cautious. Each character that holds a specific meaning will be replaced by the corresponding value of the date or time. For example, in the format "day: d" the output might appear as "21a25: 21" because "d" stands for day and "y" stands for short year. Even within your custom text, these characters will be substituted with their respective date values.

Was this article helpful?