I'm currently struggling a bit with the following:
In my condition I would like to have the following condition:
If "DayOfWeek equals Wednesday" (= 3 I assume?) then "enter the $true part of the condition".
Not sure if this information is needed, but I'm on GMT +1 time zone.
I've been trying a few options, but none of them seem to work.
I tried to make a variable using "Compose" with expressions:
To then use that variable in my condition.
Can anyone assist me with this? I assume this should be a pretty simple one to do, but just can't seem to figure it out...
Solved! Go to Solution.
Hi @NicolaiS how are you doing today?
Please, take a look on this sample on the use of the function dayOfWeek
I think tahat you you can test the output of the variable on a condition to do you process.
Also, follow a documentation for date and time functions https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#d...
Thanks to use our community and let me know if you have doubts about the solution provided
Microsoft Support Engineer
Yes, that was a typo on my end, sorry.
I've been using DayOfWeek, not DayOfTheWeek.
For some strange reason, I've been trying DayOfWeek(UctNow(()), but the syntax wouldn't accept the "UtcNow()" in the expression when clicking "Update".
However, just tried it again, tested the flow and got the correct number for this current day.
No idea what went wrong last time, as this was the first expression I tried here.
Thanks for the help.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!