Take a look for this action, maybe it will help you:
https://modelshare.mendix.com/models/fa8f2cfd-024a-4ff2-a44d-ff4ed66c8b96/get-day-of-week
As far as I have understand it will provide you the day of the week as number. Based on that logic you could implement a logic for your use case.