Hi Daan,
General purpose data type conversion nodes such as the Data Converter and Data Analyzer will convert strings such as '19011225' to an integer since they are not aware of the semantic type of the string value (a date) and they are valid numeric values. Similarly, with nodes that recognize multiple date string formats it can risky to convert values to dates if the string does not have the delimiters to provide a clue to the format.
In this case it is probably best to use a custom script in a Transform node to convert the string using a single format string. Attached is an example that will convert only values that are valid to dates (NULL and blank/whitespace values become NULL date values). Any records that contain invalid date strings are output to a second 'errors' output pin.
Regards,
Adrian
Attached files
Convert CCYYMMDD to Date - 10 Apr 2018.lna