Date To String

RpaBrasil.Date.Activities.DateToString

Converts a String containing a date representation to a DateTime instance.

 

Properties

Common

  • ContinueOnError - A Boolean value specifying if the automation should continue even when the activity throws an error. The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Input

  • InputString - A string containing the text to be converted to date.
  • ConversionMode - Indicates the conversion mode to be used, it can be:
    • SpecifFormat - Used to indicate that the conversion will use a user-specified format.
    • SpecificCulture - Used to indicate that the conversion will take place according to the culture specified by the user.
  • DayFormat - Indicates the day format used to convert the date when ConversionMode is SpecificFormat.
  • MonthFormat - Indicates the month format used to convert the date when ConversionMode is SpecificFormat.
  • YearFormat - Indicates the format of the year used to convert the date when ConversionMode is SpecificFormat.
  • Separator - A string containing the separator to be used when ConversionMode is SpecificFormat.
  • CultureName - Indicates the culture to be used when ConversionMode is set to SpecificCulture.

Output

  • Result - The converted date or null if there was an error and ContinueOnError was set to true.