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 / Date Formatting in Cre...
Power Automate
Unanswered

Date Formatting in Create Event (V2)

(0) ShareShare
ReportReport
Posted on by 60

Hi All,

 

I have been working with the Create Event (V2) service under Office 365 Outlook.

When trying to create an event, the input date format is changed from PowerApps and changed again when outputted.

 

Input: Start Time: 05/06/2017 & End Time: 09/06/2017

 

Output: Start Time: 2017-05-06T00:00:00+00:00 & End Time: 2017-09-06T00:00:00+00:00

 

This puts an event in the calender from 6th May - 6th September. (Should be 5th June - 9th June)

The values are inputted from PowerApps in the same format as the output should be (2017-06-05 & 2017-06-09), but they are flipped around going into the input, (as above in input).

 

Any help on getting the correct format would be great, thanks.

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @E-Mac,

    Could you please explain a bit for the " changed from PowerApps"?

    If the date comes from PowerApps, could we consider to take use of the Text function to format the date into UTC format?

    Text function in PowerApps

     

    Further, if this is not the case, would you please share your flow configuration in a screenshot?

    There is another way to format the Date string, using Compose Action and the FormatDatetime() function in Workflow Definition Language.

    Formula example:

    "@FormatDateTime(Body('Create_event_(V2)')['Start'],'o')"

    91.PNG

    Regards,

    Michael

  • E-Mac Profile Picture
    60 on at

    Hi Michael,

     

    Thanks for the reply. I have looked into it more and have been using compose to try resolve it.

    The details in this link might explain the issue a bit better. Converting a date from PowerApps using Compose

     

    Thanks.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard