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 / display the minutes di...
Power Automate
Answered

display the minutes difference between created date and now

(0) ShareShare
ReportReport
Posted on by 141

Hi, 

I'm Developing the reminder in email to let user know about document that was created in SharePoint library

How do I display the minutes since the Document has been created.

 

 

I've tried the expression

div(sub(ticks(triggerOutputs()?['body/Created']),ticks(addDays(utcNow(),-1))),600000000)

But the number dont make sense. Can anyone please correct the format

Categories:
  • Verified answer
    Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    What you are doing: CreatedDate - (now - 1day)

    What you probably want to do: now - CreatedDate

    Your subtraction should be reversed and why subtract a day from utcNow()?

     

    div(sub(ticks(utcNow()), ticks(triggerOutputs()?['body/Created'])),600000000)

     

  • Verified answer
    spiderkzn Profile Picture
    141 on at

    Hi Chridde, 

    Thank you for point it out @Chriddle . as it work as use this expression:

    div(sub(ticks(triggerOutputs()?['body/Created']),ticks(utcNow())),600000000)

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard