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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

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