Hey guys.
I'm trying to use action tool to format the date to check whether it's Monday and Tuesday or other dates. However its not working.

Formula in action tool: IF (DateTimeFormat([#1],"%A") = 'Monday' or 'Tuesday') THEN '4' ELSE '2' ENDIF
Input text:

Action tool:

Anyone knows whats going on?
Thanks