All,
Newbie question. Why is this not returning dayOf Week?
I need to insert dayOfWeek into a sharepoint list via a powerapp interface.
I tried the following code:
Set (dayOfWeek, Text(Weekday(Now())));
If (dayOfWeek="1",
"Sunday",
dayOfWeek="2",
"Monday",
dayOfWeek="3",
"Tuesday",
dayOfWeek="4",
"Wednesday");
When I check the list, it is inserting as 1 , 2 or in Tuesday case 3. Why is it not inserting Tuesday or any other weekday?
Any hint is greatly appreciated.
Thanks,