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. ]

View solution in original post

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
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,687)