Data type - Date

Hi there,

Just a couple of questions.

Does KNIME have a data type - DATE?

How can I substract one Date from Another in KNIME? Is this possible?

Thanks in advance for your help,


Hi stanage,
the TimestampValue and the correstpondung TimestampCell are already available in KNIME, but they are not used by any node so far. I would suggest using the Java Snippet node instead to create two java.util.Date instances by calling java.text.DateFormat.getDataTimeInstance(…).parse(String). This call will return a Date which can then be translate to a long. Calculate the difference between both longs and create a new java.util.Date(long1 - long2) and return the String representation using the toString() method.
Best, Thomas