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 / Printing flow duration
Power Automate
Answered

Printing flow duration

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to print a message at the end of my flow to show flow duration. I know we can see at the bottom right, but I want a pop out message. My current method is finding the first datetime, then subtracting it from a second datetime, but there appears to be formatting issues. I have also used 'Add to datetime', but it doesn't let me use datetime variables. 

 

How can I go about doing this?

 

Thank you 🙂

I have the same question (0)
  • Riyaz_riz11 Profile Picture
    4,150 Super User 2026 Season 1 on at

    You can try with convert date and time with custom format.

     

    If helps mark as solution 

    Regards,

    Riyaz

  • Srini007 Profile Picture
    3,473 Super User 2026 Season 1 on at

    @Anonymous 

     

    Check below link for your reference

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Flow-time-execution/td-p/1721263

     

    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

  • Verified answer
    mwd86 Profile Picture
    100 on at

    this works for me

    timedifference.jpg

     

    DateTime.GetCurrentDateTime.Local DateTimeFormat: DateTime.DateTimeFormat.DateAndTime CurrentDateTime=> CurrentDateTime2
    WAIT 5
    DateTime.GetCurrentDateTime.Local DateTimeFormat: DateTime.DateTimeFormat.DateAndTime CurrentDateTime=> CurrentDateTime3
    DateTime.Subtract FromDate: CurrentDateTime3 SubstractDate: CurrentDateTime2 TimeUnit: DateTime.DifferenceTimeUnit.Seconds TimeDifference=> TimeDifference

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard