Icon

20221230 Pikairos String to Date and Time

This workflow brings a possible answer to question asked in post #57772 on the KNIME forum:

I’m starter to use Knime. How to convert string to date&time?

Dummy DatesExtractYear - Month - Day - Hour - MinuteCombineYear - Month - Day - Hour - MinuteRecompose again& convert toDate & TimeThis String Manipulationmakes sure thatMonth, Day,Hour & Minuteare made of 2 charactersTable Creator String to Date&Time Extract Date&TimeFields Column Combiner String to Date&Time String Manipulation(Multi Column) Dummy DatesExtractYear - Month - Day - Hour - MinuteCombineYear - Month - Day - Hour - MinuteRecompose again& convert toDate & TimeThis String Manipulationmakes sure thatMonth, Day,Hour & Minuteare made of 2 charactersTable Creator String to Date&Time Extract Date&TimeFields Column Combiner String to Date&Time String Manipulation(Multi Column)

Nodes

Extensions

Links