Skip to main content

Notifications

Community site session details

Community site session details

Session Id : i5Dr9I01bj0AL5fs1F1MMT
Power Automate - Building Flows
Answered

Power Automate Expression, week start date and week end date for Today

Like (0) ShareShare
ReportReport
Posted on 23 Jan 2024 05:14:23 by 527

Hi

Request a Power Automate Expression, week start date and week end date for Today
Ex : India Time Zone
Today = 23-01-2024
Week start Date = 22-01-2024 (Monday)
Week End Date =28-01-2024 (Sunday)
 
Thanks & Regards
  • knsrinath Profile Picture
    527 on 24 Jan 2024 at 04:38:49
    Re: Power Automate Expression, week start date and week end date for Today

    Hi @v-yueyun-msft

     

    Thank You!

     

    Regards 

  • Verified answer
    v-yueyun-msft Profile Picture
    on 23 Jan 2024 at 05:42:42
    Re: Power Automate Expression, week start date and week end date for Today

    Hi , @knsrinath 

    You can use this code to get the Monday:

     

     if(equals( dayOfWeek(utcNow()) ,0) , addDays(utcNow(),-6) , addDays(utcNow(), sub(0, sub(dayOfWeek(utcNow()),1)) ) )

     

    You can use this code to get the Sunday:

     

    addDays( if(equals( dayOfWeek(utcNow()) ,0) , addDays(utcNow(),-6) , addDays(utcNow(), sub(0, sub(dayOfWeek(utcNow()),1)) ) ) , 6)

     

     

    The result is as follows:

    vyueyunmsft_0-1705988596773.png

     

     

     

    Best Regards,

    Yueyun Zhang

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 125

#2
David_MA Profile Picture

David_MA 109 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 90 Super User 2025 Season 1

Overall leaderboard
Loading started