Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Comparing dates in Power automate

(0) ShareShare
ReportReport
Posted on by 315

Hi,

 

How do I setup a flow to check if the date in the 'Date of visit' coloumn has passed by one day from the today's date ?

Capture.PNG

  • Verified answer
    v-alzhan-msft Profile Picture
    on at
    Re: Comparing dates in Power automate

    Hi @Prathameshpatka ,

     

    You could refer to screenshot below to create the flow:

    1.png

    The first expression in the Condition as below:

    formatDateTime(outputs('Date_of_visit'),'yyyy-MM-dd')

    The second expression in the Condition as below:

    formatDateTime(addDays(utcNow(),-1),'yyyy-MM-dd')

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • VictorIvanidze Profile Picture
    12,534 on at
    Re: Comparing dates in Power automate

    Google for date difference power automate

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1