String To Date

RpaBrasil.Date.Activities.StringToDate

Converts the date component of a DateTime instance to a String without using code.

  

Properties

Input

  • InputDate - The date to be converted to string.
  • 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 year format used to convert the date when ConversionMode is SpecificFormat.
  • DateFormat - Indicates the date format used to convert the date when ConversionMode is SpecificFormat.
  • Separator - A string containing the separator to be used in formatting the date in text when ConversionMode is SpecificFormat.
  • CultureName - Indicates the culture to be used when ConversionMode is set to SpecificCulture.
  • DatePattern - The date patter used when the selected conversion mode is 'Specific Culture', it can be:
    • Short - Converts the date to its equivalent short date string representation.
    • Long - Converts the date to its equivalent long date string representation.

 

Output

  • Result - A string containing the converted date.
  • MonthFormat - Indicates the month format in the date text.
  • YearFormat - Indicates the format of the year in the date text.
  • DateFormat - Indicates the date format.
  • Separator - A string containing the separator to be used in formatting the date in text.

Output

  • Result - The converted date.