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

Formatting Google Calendar date format

Hello,

 

I created a flow for automated out of office replies based on google calendar events. The flow works great except for one thing. I am trying to add dynamic content to the body of the emails referring to the end time of the event.

 

screencap.png

 

 

However, by default, the date output from Google Calendar looks like this: 2018-11-25T12:56:00+00:00

 

I'd like the date of the dynamic content to be formatted like this: 25-11-2018.

 

Is it possible to achieve this through the use of expressions?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @nhafala,

 

Could you please share a screenshot of the configuration of your flow?

 

Please add a Compose action to save the end time of the event dynamic content.

And then you could add a Compose 2 to formate the end time of the event, please refer to screenshot below to create th flow:

Capture.PNG

 

The expression in the Compose 2 as below:

formatDateTime(outputs('Compose'),'dd-MM-yyyy')

 

Best regards,

Alice

View solution in original post

1 REPLY 1
v-yuazh-msft
Community Support
Community Support

Hi @nhafala,

 

Could you please share a screenshot of the configuration of your flow?

 

Please add a Compose action to save the end time of the event dynamic content.

And then you could add a Compose 2 to formate the end time of the event, please refer to screenshot below to create th flow:

Capture.PNG

 

The expression in the Compose 2 as below:

formatDateTime(outputs('Compose'),'dd-MM-yyyy')

 

Best regards,

Alice

View solution in original post

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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,767)