Hello @datascienceduck
In KNIME you have to create the TODAY’s Date with ‘Create Date&Time Range’ node with the following configuration (from system time, 5 five days window backwards -current minus 4-):
Then you can select the minimum with GroupBy and send it to a variable. You can use this variable in your logical tests along the workflow.
20221222_today_minus_x_v0.knwf (20.3 KB)
$Date&Time$ = $${SMin(Date&Time)}$$ => TRUE
TRUE => FALSE
BR