Format Date
Format Date
Converts a date from an input format to a defined output format. Essential for standardizing dates when moving between systems with different conventions — such as converting from the American format to the Brazilian one or to the ISO standard, without having to write code.
Options
Use a date relative to the robot's execution?
Defines whether the date used will be the current date at the moment the robot is running. Select Yes to use the current date automatically, or No to provide a specific date.
Input format date
Select the format in which the input date is written. This field is only shown when Use a relative date is set to No and the date to be formatted is of the free text type.
Date to be formatted
Enter the date that will be formatted. This field is only shown when Use a relative date is set to No.
Output format
Select the format in which the date must be returned after the conversion.
Output language
Choose the language of the output date — for example Brazil Portuguese, producing an output such as 17 de abril de 2026.
Returns
Custom code
actions["action-id"].value // date converted to the selected output format (Text)
Field selection
- value — date formatted in the output format chosen (Text)
Rules and Conditions
- The Output format field is required.
- When Use a relative date is No, the Input format date and Date fields are also required.
- The date provided must match exactly the input format selected.