Implementing a php (date("w")) element in a condition with Server Connect

Hello,

I’m building a php action file where I want to set the weekday as a trigger. I specifically want to use date(“w”)== 0 (or 6) in my condition to eliminate weekends in my logic, what would be the path to implement this?
What I tried below seems not to work:
image

Community Page
Last updated: