web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Set Variable as DayofW...
Copilot Studio
Unanswered

Set Variable as DayofWeek from Now()

(0) ShareShare
ReportReport
Posted on by 15

Good Day,


I want my Chatbot to check if the current date time is within a specific timeframe (ex. Tuesday between 11AM and 12PM). I can't figure out how to get the DayofWeek from Now() in the formula. DayofWeek function doesn't seem to exist nor does Weekday. I am looking for something like...

If(Weekday(Now())=3,true,false) <==Check if it is Tuesday

Or

If(And(Weekday(Now())=3,Hour(Now())>=11,Hour(Now())<12), true, false) <==Check if the current Date Time is within Tuesday between 11 and 12)

Categories:
I have the same question (0)
  • buddhasbuddy Profile Picture
    15 on at

    I realise I could use Power Automate to do this but can't it be done in PVA?

  • Verified answer
    dian74 Profile Picture
    63 Most Valuable Professional on at

    I don't believe this is supported today. https://powerusers.microsoft.com/t5/General/PVA-Unified-Canvas-Power-Fx-Support/m-p/1919018#M4686

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard