cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pweisz
Regular Visitor

Convert get_event time to UTC format

Hi Everyone!

 

someone please help me with the following.

 

In MS Flow I use the Get_event to read the End Time of an event.

 

I would like to delay the next step until this time, however I run into the following problem: Get_event gives me this time format: End time 2018-04-18T14:40:00.0000000+00:00

 

Please help me what expression to use to convert it into such format that the 'delay' will excpet.

 

I have already tried this:

convertToUtc(body('Get_event_(V2)')['End'],'Central Europe Standard Time','yyyy-MM-ddThh:mm:ss.0000Z')

 

 

Thanks, Peter

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @pweisz,

 

Could you please share a screenshot of your flow's configuration?

Do you add a "Delay Until" action within your flow?

Further, do you want to convert the end time of an event into a time format which the "Delay Until" action except?

 

I suppose that you add a "Delay Until" action within your flow, is it true? I have made a test on my side and please take a try with the following workaround:25.JPG

Within Timestamp field of "Delay Until" action, type the following formula:

formatDateTime(body('Get_event_(V2)')['End'],'yyyy-MM-ddTHH:mm:ssZ')

The flow works successfully as below:26.JPG

 

Best regards,

Kris

 

 

 

Community Support Team _ Kris Dai
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-xida-msft
Community Support
Community Support

Hi @pweisz,

 

Could you please share a screenshot of your flow's configuration?

Do you add a "Delay Until" action within your flow?

Further, do you want to convert the end time of an event into a time format which the "Delay Until" action except?

 

I suppose that you add a "Delay Until" action within your flow, is it true? I have made a test on my side and please take a try with the following workaround:25.JPG

Within Timestamp field of "Delay Until" action, type the following formula:

formatDateTime(body('Get_event_(V2)')['End'],'yyyy-MM-ddTHH:mm:ssZ')

The flow works successfully as below:26.JPG

 

Best regards,

Kris

 

 

 

Community Support Team _ Kris Dai
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 Kris,

 

thanks for the help, this is exactly what I needed. I tried, it works.

 

Thank You!

 

Peter

Hello, @pweisz!

 

I noticed that you have found an answer to your Flow question! This is excellent! If you feel that you were satisfied with the reply and the result it has given you, please mark the reply as the "Accepted Solution" so that other users may find it and utilize it easier!

 

Thank You!

-Gabriel

(Flow Community Admin)

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (65,711)