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 / Power Automate / Calculate Date from th...
Power Automate
Answered

Calculate Date from the past

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

I want to calculate a certain date in the past. I have as Input the Date of today and the parameter for example 10 Years ago. So I want for example 01.01.2021 - 10 Years = 01.01.2011. 

 

I tried different ways, but couldn't get the right result... 

 

Thanks guys!

I have the same question (0)
  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Here is my best practices article on dates:
    https://www.linkedin.com/pulse/power-automate-desktop-pad-best-practices-part-1-date-michael-annis/?trackingId=CkTJXmfRSwyCBq1hvhB%2Ffw%3D%3D

     

    Short story for you solution:  Use the Add to datetime action and go minus 10 years.

    MichaelAnnis_0-1639075253331.png

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    If you need the first day of this year, follow the article (it has text you can copy and paste at the bottom).  Instead of Beginning Day this Month using %ThisMonth_mm%, just use '01' to represent January.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you very much! You helped me a lot. Appreciate it. Helping others without benefit is a great attitude. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard