Alteryx to KNIME conversion

Can anyone help me convert the following node (Formula in Alteryx) from Alteryx to KNIME to give the same output?


I have tried using the following code but the result is NaN.

Hi @ThomasChen

Welcome to KNIME Forum.
Did you know KNIME has a node for this Date & Time Difference ?

gr. Hans

3 Likes