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 / Power Automate / How to get month last ...
Power Automate
Unanswered

How to get month last end date in Power Automate desktop flow ?

(0) ShareShare
ReportReport
Posted on by 203

Hi Everyone,

 

How to get month last end date in Power Automate desktop flow please help with a snap shot for the help.

 

Thanks

Best Regards 

 

I have the same question (0)
  • Srini007 Profile Picture
    3,327 Super User 2025 Season 2 on at

    Hi @Ahmedmuz 

     

    Try as below

     

    Srini84_0-1697532010889.png

     

     

    Copy the steps and paste PAD

     

    DateTime.GetCurrentDateTime.Local DateTimeFormat: DateTime.DateTimeFormat.DateOnly CurrentDateTime=> CurrentDateTime
    DateTime.Add DateTime: CurrentDateTime TimeToAdd: $'''-%CurrentDateTime.Day%''' TimeUnit: DateTime.TimeUnit.Days ResultedDate=> EndOfLastMonth
    SET DateRange TO EndOfLastMonth
    

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Last Day of the Current Month:

    Kaif_Siddique_0-1697534609011.png

     

    Copy&Paste to PAD:

    DateTime.GetCurrentDateTime.Local DateTimeFormat: DateTime.DateTimeFormat.DateOnly CurrentDateTime=> CurrentDateTime
    DateTime.Add DateTime: CurrentDateTime TimeToAdd: 1 TimeUnit: DateTime.TimeUnit.Months ResultedDate=> LastDayOfMonth
    DateTime.Add DateTime: LastDayOfMonth TimeToAdd: $'''-%CurrentDateTime.Day%''' TimeUnit: DateTime.TimeUnit.Days ResultedDate=> LastDayOfMonth

     

    Regards

    Kaif

  • Ahmedmuz Profile Picture
    203 on at

    Hi Kaif,

    Thanks a lot:) Can you please help me on the other one which i posted on below link,,

    Need a help in Copy and Paste issue in Power autom... - Power Platform Community (microsoft.com)

  • Ahmedmuz Profile Picture
    203 on at

    Hi Shrini,

    Thanks a lot:) Can you please help me on the other one which i posted on below link,,

    Need a help in Copy and Paste issue in Power autom... - Power Platform Community (microsoft.com)

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard