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 / Compare time to see if...
Power Automate
Answered

Compare time to see if they match midnight local time

(0) ShareShare
ReportReport
Posted on by

I have 2 fields in my SharePoint list. Both of them are date/time. I'm trying to see if both of the times in the date/time fields are equal to midnight. Users will often enter midnight for the 2 fields (in addition to the date of course).

 

I can't seem to figure out how to make sure that when the comparison is done, there are no problems when the time changes in and out of DST. Any ideas?

 

Also, what's the best way to compare just the times? 

 

Thank you.

 

Categories:
I have the same question (0)
  • Verified answer
    PrasadAthalye Profile Picture
    on at

    You can use Convert time zone action on both the datetimes and provide long time as format so that it will return only times. Convert both of them to a timezone that you want and then compare...

     

    PrasadAthalye_0-1622078695111.png

     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard