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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (47,903)