cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Formatting Google Calendar date format

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
Highlighted
Community Support
Community Support

Re: Formatting Google Calendar date format

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
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (6,945)