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 / Subtract from time doe...
Power Automate
Answered

Subtract from time doesn't work when I set it to 12 hours but works when I set it to 4.

(0) ShareShare
ReportReport
Posted on by 359

Hello. I am having an issue with my Flow. What I'm trying to do is pull the time from 12 hours ago so I can use that to filter records that were modified within the last 12 hours. I am using the "Subtract from time" control to do this but it is not working when I set the value to be 12 hours. When I set it to 4 it works: 

 

4hours.png

 

But when I set it to be 12 hours, the time doesn't change:

 

12hours.png

You can see that utc and 12 hours ago are the same. It isn't subtracting any hours from utcNow(). Does anybody know a way to do this? Or another way to get the time from 12 hours ago? I also tried SubtractFromTime() and it did the same thing. Thank you.

Categories:
  • Verified answer
    Mgodby Profile Picture
    359 on at

    Nevermind, it actually works, just assumed that the time was in military time. 

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
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard