10min

Custom Date from String

This action allows you to parse a DateTime from a string using a custom format to extract the fields.

How to use:

  • Drag theΒ Custom Date from StringΒ action on the canvas and link it to other actions used in your process.

ο»Ώ

Document image

ο»Ώ

  • Configure inputs and outputs:
    1. [I] Input string ➜ String from which the DateTime will be parsed.
    2. [I] Language ➜ Language used in the Input string.
    3. [I] Format ➜ Date format used in the Input string.
    4. [O] Output date ➜ DateTime representing the parsed date.

ο»Ώ

Document image

ο»Ώ

Document image

ο»Ώ

  • Run the process and Check instance to see the output.

ο»Ώ

Document image

Tips:

  • The Format field uses standard dotnet format specifiers which are documented here.
  • The Language selector picks which language should be used when the wanted format contains :
    • Month names ➜ June[UK] πŸ†š Iunie[RO] πŸ†š Juin[FR]
    • Days of the week ➜ Monday[UK] πŸ†š Luni[RO] πŸ†š Lundi[FR]
    • Abbreviations
  • Make sure you escape letters used as format specifiers using quotes otherwise those letters will be treated as placeholders for datetime fields and the action will fail when attempting to parse the input string.

ο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ

ο»Ώ