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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 696

#2
chiaraalina Profile Picture

chiaraalina 171 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 122

Last 30 days Overall leaderboard