Parse DateTime
8min
This action parses a DateTime value from a String, based on a custom format specification.

ο»Ώ
Inputs & Outputs
- [ I ] String: String value to parse from.
- [ I ] Language: Language used in the Input string for month names and days of the week.
- ο»ΏDrop-down with multiple languages.
- [ I ] Format: String containing the DateTime format specification.
- [ O ] Date: Parsed DateTime value.

ο»Ώ
Example Usage
- Drag action onto the canvas to get familiarized with it.

ο»Ώ
- Declare some variables to be used with the action.

ο»Ώ
- Assign the newly created variables.
- Save & Run the process and then Check Instance to see the output.

ο»Ώ
Use Cases
- Extracting DateTime values from bodies of text coming from any source.
- Translating month names or days of the week from one language to another using the Parse DateTime and Format DateTime actions together.
Tips
- 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 to 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.
ο»Ώ
ο»Ώ
ο»Ώ
ο»Ώ
ο»Ώ
ο»Ώ
ο»Ώ

Updated 05 Apr 2023
Did this page help you?
Yes
No