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 Dates no longe...
Power Automate
Unanswered

Compare Dates no longer working

(0) ShareShare
ReportReport
Posted on by

Compare dates is no longer working. I have no idea what went wrong but it broke within the past month.

 

I can't seem to upload the images here so here is an imgur link: https://imgur.com/a/ZouwYkJ

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @Anonymous 

    Hi there.  So, are you saying that this exact flow was working, and now it's not?  I'm wondering what the output from the previous step looks like.  Would you be able to post the JSON that includes the date information from the SharePoint grab?

     

    Thanks!

    -Ed-

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Please try to use utcNow('yyyy-MM-dd').

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    @v-bacao-msft Still does not work.

  • Community Power Platform Member Profile Picture
    on at

    Updated to today: 

    "NextCalibrationDate": "2019-11-11" so it should be working with utcNow().
  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    I recommend that you use utcNow('yyyy-MM-dd') because the utcNow() output is Date and Time, which contains time.

     

    The value of the field you are comparing seems to contain only the date, and the format is yyyy-MM-dd, so you need to format utcNow() into a consistent format.

     

    In addition, you could use Compose above on the Condition to output the value of the Date field and the value of utcNow('yyyy-MM-dd') to see if their actual values are equal.

     

    Hope it makes sense.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    Thanks, this and adding the column date as 'yyyy-MM-dd' as well made it work.

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