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

Get date, send email on that date but at specific time in AEST

Hi there

 

I have a due date column the user fills in when an approval workflow is initiated, say 10 Dec.

 

I'd like to send a reminder email on the due date (10 Dec) but it's to send at 9 am.

 

But I'm also on Aust Eastern Standard Time. From my calculation if I put work on UTC at 10 pm it should be AEST 8 am or 9 am (depending on daylight savings). I'm not fussed if it is 8 or 9 am.

 

See pics to see what I've come up with from my searching to make the time 9 am.

 

So, just to check I put the End Time in a SharePoint column it comes up as 11 Dec at 10 am. In the running flow it is 10 Dec at 22 pm. I have no idea which time it is going to send it and neither are the correct times.

 

Any help would be appreciated.

 

2020-12-09 13_00_56-Edit your flow _ Power Automate.png2020-12-09 13_03_45-Edit your flow _ Power Automate.png

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @xxxxmints ,

I'd try different approach to build the dates. Instead of concat() and building the the date I'd use 2 expressions: startOfDay() to get the Due date at 00:00:00 UTC and addHours() to adjust the hours to your time zone + the wish time.

addHours(startOfDay([DueDate]),-1)

 That should take Dec 10, 00:00 UTC -1 hour = Dec 9, 11PM UTC +10 hours (UTC to AEST) = Dec 10, 9 AM



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

3 REPLIES 3
tom_riha
Super User
Super User

Hello @xxxxmints ,

I'd try different approach to build the dates. Instead of concat() and building the the date I'd use 2 expressions: startOfDay() to get the Due date at 00:00:00 UTC and addHours() to adjust the hours to your time zone + the wish time.

addHours(startOfDay([DueDate]),-1)

 That should take Dec 10, 00:00 UTC -1 hour = Dec 9, 11PM UTC +10 hours (UTC to AEST) = Dec 10, 9 AM



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]
xxxxmints
Helper IV
Helper IV

Ok, thanks. Sounds great! I'll give that a test and will get back to you.

xxxxmints
Helper IV
Helper IV

OMG it worked! Thank you.

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.

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.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,195)