I am new using Knime and I am facing below issue.
I have column which contanis date in this format Mar-2019 (actually it is string). I would like to change it to normal date format 2019-03-01
I have formated String to Date&Time with MMM-yyyy in date format
ERROR String to Date&Time 0:48 Execute failed: Failed to parse date in row '1.0_Row20: Text ‘Jul-2018’ could not be parsed: Unable to obtain LocalDate from TemporalAccessor: {Year=2018, MonthOfYear=7},ISO of type java.time.format.Parsed
I guess, you would need to attach the day (“01”) to your column and then use the String to Date&Time Node. I tried this by using the String Manipulator before and it works… Z_010_data01.knwf (7.6 KB)
Hi @tommy,
Thank you for replay. Unfortunately it didn’t work, because some row contain NULL values. Is it possible to add if statement to String Manipulation?
hi @ipazin
Thank you for your replay, it has worked but I got “?” instead of empty values.
Can I get NULLs insted?
I have tried to use string manipulation, but “?” are still there
replace($Month$,"?","")