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 / Get Start and End date...
Power Automate
Unanswered

Get Start and End date from Date field in Calendar event

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am trying to create an event(V4) from Leave request entity. I have Leave date field and I want to get From and To date from Leave date. How can I do that ?

 

I am also not able to add Leave date to Start and End date. It is giving an error.

 

Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)': The parameter with value '"@triggerOutputs()?['body/cdm_leavedate']"' in path 'item/start' with type/format 'String/date-time' is not convertible to type/format 'String/date-no-tz'.'.

 

How can I convert to target date time format.

paragchapre_0-1611146226978.png

 

Categories:
  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @Anonymous 

    You could use an expression like:

    convertFromUtc(convertToUtc(triggerOutputs()?['body/start'], 'Central Standard Time'), 'Central Standard Time')

    Hope it helps!
    Ferran

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard