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.

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,050)