Parse Date
The information on this page relates to the new upgraded interface of the IConduct platform. To view information about the Classic version of the user interface, follow this link.
The Parse Date algorithm is to convert specified string data to equivalent date and time. For instance, we usually need to parse to a DateTime object to perform some operations like date difference, weekday, month name, formatting and so on.
The table below provides some examples of this date format conversion.
Source Column | Target Column |
---|---|
7-Jun-2013 | 06/07/2013 |
Fri, June 7 2013 | 06/07/2013 |
You should specify information about how the dates and times are represented as text using the Input Format field, so that the algorithm can read a date from a string.
To configure this manipulate step, follow the instructions below:
- In the specific Interface work area, press the downward button next to the task and press the ‘+’ (plus sign) button.
Creating a New Step
- Select Create manipulation step.
- Navigate to the Dates section and select Parse Date.
Dates Section
- In the Parse Date work area, fill in the following fields:
Fields | Description |
---|---|
Name of step |
Provide a distinctive name for this step. |
Filter Expression |
Optional. Use this filed to filter data from the source database prior to inserting it into the Schema table. |
Sort Expression |
Optional. Use this field to sort data from the source database prior to inserting it into the Schema table. |
Audit notes |
Leave notes about the step if needed. This field may contain any information, such as the purpose of the step, further actions that must be taken etc. for you to work with the step in the future or to inform team members about your intent. |
Order of Execution |
Enter the order in which this step should be executed. |
Is Active |
Activate the switch to engage the scheduler for this step. |
Stop interface execution if query failed |
Optional. If enabled, the system will stop any data manipulation if the query returns an error. |
Save Schema (enabled per interface) |
If selected, the schema is created for this step. |
Source Column | Select the column where you will retrieve the data source. |
Input Format | Specify the pattern the source string value should match. For details on the pattern syntax, see Formatting Dates and Times. |
Target Column |
Select the column where you will insert the date. |
Output Format | Specify the pattern the date/time value should match. For details on the pattern syntax, see Formatting Dates and Times. |
Is Multi Mapping | Enable to hold the mapping for multiple schema rows. You can indicate the rows in the mappings section that appears after saving the step. |
- Click the Create step button.