Demonstration workflows for taking date values from two or more columns and combining them into Strings of varying date formats
Presented with columns representing parts of dates, these can be combined into the required format in a variety of ways.
If the columns are already in roughly the right format, concatenation via String Manipulation might easily do the job. Alternative approaches might be Column Aggregator or Column Combiner, but it depends on your actual data, and whether you are comfortable writing a few functions as to which approach suits best!
But what if you want to both concatenate and adapt the format? In this case, either String Manipulation or a Column Combiner can bring the columns together, but then a String to Date&Time node can be used to interpret the date value by specifying the required mask.
Once it has been turned into a date, Date&Time to String can reformat the date into an alternative form, including padding month and day to 2 digits, or maybe turning the month into its name, without too much effort.
Look at the configuration and outputs of each Node to determine the best choice for your use case.
April 19th, 2021 @takbb Brian Bates
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.