Ensuring a date filed is on or before the beginning of the current week based on the current date

Hi Everyone,

This is my first post on the community so I hope I do this right as I know all software communities are different. So i’m essentially making the effort to learn Knime as I have a lot of experience with Alteryx and want to try converting some of my Altyerx flows to Knime.

So my question is I have data ranging from Jan 1 2023 to Today and I have this conditional filter I made in Alteryx like so:

[EntryDate] >= “2024-01-01” AND

[EntryDate] <= ToDate(

DateTimeAdd(DateTimeToday(),

-(ToNumber(

DateTimeFormat(

DateTimeToday(),‘%u’))-1),

‘day’))

What it does is basically ensure that the

[EntryDate]

is on or before the beginning of the current week (Monday) based on the current date. But for the life of me I cant figure out how to do this in Knime at all.

Any help would be much appreciated just to keep the ball rolling. Thank you in advance