cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rm2
New Member

Help with Flow.: Converting to local Date/Time

Hi Everyone,

 

I'm new to the community here - looking forward to getting involved. 🙂

 

I've built my first flow to send emails out on a certain date (that has been entered into a column in SharePoint). It seems like the flow runs properly as the recepient receives an email. Only thing is they receive the email a day later than the date in the SharePoint column "BirthDate". I'm wondering if it might have something to do with my being located in New Zealand? 

 

Here's what I've done so far:

 

Flow 1.PNG

 

Flow 2.PNG

 

Flow 3.PNG

 

Formulae used above: formatDateTime(outputs('Compose'), 'MM-dd') is equal to formatDateTime(utcNow(), 'MM-dd')

 

Flow 4.PNG

 

I'd really appreciate your help with this, thanks a lot. 🙂

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @rm2 ,

 

Please try to change formatDateTime(utcNow(), 'MM-dd') to addDays(utcNow(),1, 'MM-dd').

 

Best Regards,

Community Support Team _ Barry
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

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @rm2 ,

 

Please try to change formatDateTime(utcNow(), 'MM-dd') to addDays(utcNow(),1, 'MM-dd').

 

Best Regards,

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

Hi @v-bacao-msft Barry!

 

I'm just testing with that change you suggested, will let you know how it goes.

 

Thanks a lot for the help. 🙂

rm2
New Member

Thanks a lot Barry, that worked perfectly. 🙂 @v-bacao-msft 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,782)