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 / Create event (V4) Date...
Power Automate
Answered

Create event (V4) Date time format

(1) ShareShare
ReportReport
Posted on by 38

alie4hunt_2-1719970455754.png

alie4hunt_3-1719970584042.png

 

 

alie4hunt_0-1719970432044.png

alie4hunt_1-1719970439846.png
I'm trying to set up that when my approval is granted, SharePoint will receive the latest status update. Additionally, it should create an event in Outlook to let others know that this time slot is already booked. I'm not sure if my parameters are correct (I suspect my date string format might be wrong). Should I be using "update event" instead of "create event"?

 

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

    Hi @alie4hunt ,

    Please try this expression:

     

    convertTimeZone(outputs('Update_item')?['body/Start_Date'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')
    convertTimeZone(outputs('Update_item')?['body/End_Date'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')

     

     Best Regards,

    Sunshine Gu

  • alie4hunt Profile Picture
    38 on at

    Hi @v-yetonggu-msft ,

    alie4hunt_0-1719972055561.png

    Still the same after changing the expression

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @alie4hunt ,

    There is a problem with Start_Date and End_Date field references, please try this expression again:

    convertTimeZone(outputs('Update_item')?['body/Start_Date'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')

    convertTimeZone(outputs('Update_item')?['body/End_Date'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')

     

    Best Regards,

    Sunshine Gu

  • alie4hunt Profile Picture
    38 on at

    alie4hunt_0-1719974102745.png

    Hi @v-yetonggu-msft , 

     

    The date and time seems works in this format, but the error showing null when testing.

  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @alie4hunt ,

    Please try both expressions again:

    convertTimeZone(outputs('Update_item')?['body/StartDate'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')

    convertTimeZone(outputs('Update_item')?['body/EndDate'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')

     

    Best Regards,

    Sunshine Gu

  • alie4hunt Profile Picture
    38 on at

    alie4hunt_0-1719975955763.png

    alie4hunt_1-1719975967602.png

     

    Hi @v-yetonggu-msft ,

    It actually works and is able to update to Outlook, but why does it only create a single column instead of spanning from the start date to the end date?

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @alie4hunt ,

    Please check that the start and end dates in your create event are the same day.

     

    Best Regards,

    Sunshine Gu

  • alie4hunt Profile Picture
    38 on at

    alie4hunt_0-1719977252681.png

    alie4hunt_1-1719977300552.png

     


    Hi @v-yetonggu-msft ,
    I create 22 for the start date and end dates on 26, in SharePoint and the date print out in the email body shows the correct date, just the booking date are not in the correct one.

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @alie4hunt ,

    Please check whether the formulas entered for StartDate and EndDate in your create event are respectively:

    convertTimeZone(outputs('Update_item')?['body/StartDate'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')

    convertTimeZone(outputs('Update_item')?['body/EndDate'],'UTC','Singapore Standard Time','yyyy-MM-dd HH:mm:ss')

    I'm guessing you've written the same formula.

     

    Best Regards,

    Sunshine Gu

  • alie4hunt Profile Picture
    38 on at

    Hi @v-yetonggu-msft ,

     

    Really appreciate, it works now !!! Was my mistake putting two same formulas. 

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 442

#2
Vish WR Profile Picture

Vish WR 328

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard