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
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
Top Kudoed Authors
Users online (57,534)