Convert text to date-time
Description
Converts text to date and time by format
Input Ports
| Name | dataType | sourceType | required | description |
|---|---|---|---|---|
| Convert Type | text | manual-only | true | The format the output should be and the input type it expects determine the convert type |
| Encoded Date | boolean | manual-only | true | Set this to true if the date is encoded in 1904 Date System. 1904 is the default format for Excel in MacOS |
| Date format | text | link-manual | true | The format the date should be after being converted. Read more on date formats |
| Text value | text | link-manual | true | The text value that will be converted to a date |
Scenarios
- The user wants to convert a
Text valueto a date in the following formatDD-MM-YYYY HH:mm:ss - The user wants to convert a
Text valueto a date in the following formatDD-MM-YYYY - The user wants to get a formatted date in the following format
DD-MM-YYYYfrom an exceldate number34519 - The user wants to convert a formatted date
04-07-1994to an exceldate number
Use case
Inputs
- Convert Type:
From Text - Date Format:
YYYY-MM-DD HH:mm:ss a - Text value:
05/02/2001 12:34:55
Experienced tips
- If the
Date formatis empty, the process will continue and use the default format ofYYYY-MM-DD HH:mm:ss a - If the
Text valueis empty, the process will continue and provide you with the following resultInvalid Date
Search Tags
convert text to formatted date-time convert excel date to formatted date-time convert formatted date-time to excel date number