cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YEEDEN
Frequent Visitor

Delay until only can use UTC time zone ?

Dear all, 

 

i have a flow for document approval need send out for approval. It will postpose/pause till that day 5.30pm only send out. Example, 2020-11-02 3pm submit , the approval mail will still send out by 2020-11-02 5.30pm.

 

Possible function delay until using 2020-11-02T17:30Z is malaysia timezone ? Default is UTC time zone is it ?

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @YEEDEN 

You're right! You don't need the action, since it can be done calling the ConvertTimeZone function.

In the sample I showed before, I forgot to add the format of the output of the Convert Time Zone action, which should be: 'yyyy-MM-ddThh:mm:ssZ'

 

Hope it helps!
Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

4 REPLIES 4
fchopo
Super User
Super User

Hello @YEEDEN 

You could do something like this:

timeMalaysia.png

 

1) Get the current date with no time (0h)

2) Convert that date to Malaysia time zone.

3) Add to that date a specified number of hours (I added 17.5) in the example.

4) Do the delay until with that specified date and time.

 

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!
YEEDEN
Frequent Visitor

Timezone.PNG

I tired the convert time zone , but it fail on this message.

below is the setting that i follow

Timezone1.PNG

YEEDEN
Frequent Visitor

and we can no need use convert time zone , if we using this expression  ?

converttimezone(utcnow(),'UTC','Singapore Standard Time','yyyy-MM-dd')

Hello @YEEDEN 

You're right! You don't need the action, since it can be done calling the ConvertTimeZone function.

In the sample I showed before, I forgot to add the format of the output of the Convert Time Zone action, which should be: 'yyyy-MM-ddThh:mm:ssZ'

 

Hope it helps!
Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,629)