cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Comparing dates in Power automate

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

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.

View solution in original post

2 REPLIES 2
Power Participant
Power Participant

Google for date difference power automate

Community Support
Community Support

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.

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (3,972)