cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

AddDays expression bringing back false results

Hi

 

I am relatively new to Power Automate, but my objective was to run a scheduled flo to email me 1day before the target date built into an item list in SP, in a Date formatted column(MM/DD/YYYY)

 

It seems to declare the run successful, however I continually get false results, even though I know the due date is tomorrow.

 

Can anyone tell me why? or what I am doing incorrectly? - Screen shots below.

 

Expression I am using is: addDays(utcNow(),1,'MM/DD/YYYY')

 

Thanks You

 

 

Expression is addDays(utcNow(),1,'MM/DD/YYYY')Expression is addDays(utcNow(),1,'MM/DD/YYYY')

 

Date Column in SPDate Column in SP

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: AddDays expression bringing back false results

Hi @EloiseJane1 

 

Try this expression

 

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


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: AddDays expression bringing back false results

Hi @EloiseJane1 

 

Try this expression

 

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


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

Highlighted
Frequent Visitor

Re: AddDays expression bringing back false results

Hi@

 

Thank you 🙂 it worked!

 

 

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,561)