web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Expression to convert ...
Power Automate
Unanswered

Expression to convert date & time from Compose output to format to use in Create Event action

(0) ShareShare
ReportReport
Posted on by 2
I'm currently building a flow to create an event when a new email arrives. I have used the html to text and compose actions to pull the data I need for the event start & end date/times, however the format in the compose action appears as per attached image
 
 
I'm now trying to write the expression in the create event action that converts the compose actions to correct format in the start time and end time parameters so that the event can be created. All expressions I have tried are returning an error message Unable to process template language expressions in action 'Create_event_(V4)' inputs at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '21.02.2025 00:00:00' was not valid. The datetime string must match ISO 8601 format.'.
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 134 Super User 2026 Season 2

Last 30 days Overall leaderboard