Formatted date and time

I have the column on the left side in the old format and the column on the right side in the new format, as requested by Knime, but it is giving an error using the Date & time string node.

Inside the string manipulation node I’m using this function join(substr($etadestinorealizado$,6,4),“-”,substr($etadestinorealizado$,3,2),“-”,substr($etadestinorealizado$,0,2)," ",substr($etadestinorealizado$,11))