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 / Check Time run activit...
Power Automate
Unanswered

Check Time run activity after 16:30 and until 07:00 of a successive day

(0) ShareShare
ReportReport
Posted on by
Hi expert, i try to engage an activity only after 16.30 and until 07.00 of a successive day.
I try with Check Time but actually response ever False.
I used 2 contition:
 
formatDateTime(utcNow(), 'HH:mm') -> is greater than -> 16:30
formatDateTime(utcNow(), 'HH:mm') -> is less than -> 07:00
 
 
But i thing that che function not work because i try to confrontate time with text, how i convert correctly in a time without include date ma only time?
 
Many thanks at all.
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at
    I don't really understand the purpose of your condition, but just change your expressions to: formatDateTime(utcNow(), 'HHmm') so it removes the colon between the value. Then update the right side of your condition to use 1638 and 700 and it will treat the values as numbers and it should work.
     
     
  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at
     
    Just to add to @David_MA's comment:  you should use OR, as the time cannot be both GREATER THAN 16:30 and LESS THAN 07:00 at the same time.
     
     

    Ellis Karim Ellis Karim
    Blog | LinkedIn | Bluesky

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