I am trying to change some data in a CSV file from a string to a date or date time.
When I use the String to Date&Time node, I am having some issues. Here’s what that node looks like.
Hi there,
I think we can text edit the “Date format” value above to “dd/MM/yyyy HH:mm:ss” and click on apply, rather than clicking the Guess (since the required format is not in available list). Hope that helps!
Hi there! Yes, I’ve edited my own formats for this, but I am getting a parsing error.
Problems in 80557 rows. First error: Could not parse date in cell [Row0, column “START_DATE”, row 1]: Text ‘28/06/2024 00:00:00’ could not be parsed at index 0.
RowID | … | ORGANIZATION | START_DATE | DEPT_LINE ----------------------------------------------------------- Row0 | … | PRD:MOX | 28/06/2024 … | 12101 ^^^^^^^^^^^^^^^ Could not parse date in cell [Row0, column “START_DATE”, row 1]: Text ‘28/06/2024 00:00:00’ could not be parsed at index 0.
Potential resolutions:
Change the date and time pattern to match all provided strings.
Also one fix would be trying to restart Knime as I realized its processor usually generates Lags after being opened for a while as I faced a similar issue not too long ago
Thank you for your answer! I am trying to get MM/dd/yyyy format. I have confirmed with the end user that the time stamp is not needed. Are you able to get that format to work? I appriecate your help!