This is a video to show you how to use the dayOfWeek function within Power Automate (and Logic Apps!). This function allows you to take the date you're working with and get the week day number representation from is (i.e. 5 = Friday), this tutorial also shows you how to get the actually week day name as well!
Example Array: [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ]
Example Function: dayOfWeek(outputs('Get_the_UTC_Date_and_Time_now'))
Example Day of the Week Name function: variables('Days of the Week')[sub(outputs('Get_the_Day_of_the_Week_(Number)'), 1)]
Sub Video: • Sub (Subtraction) Function / Expressi...
Connect with me:
Website: https://www.flowjoe.io
Twitter: / flowjoe
Post: https://post.news/flowjoe
#powerplatform #powerautomate #functions