cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
nhafala
Level: Powered On

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

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

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 407 members 6,104 guests
Please welcome our newest community members: