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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Wrong calendar event date
Power Automate
Unanswered

Wrong calendar event date

(0) ShareShare
ReportReport
Posted on by

I have managed to connect a Sharepoint list to the Outlook calendar, but the problem is that the date is incorrect in the calendar. In the calendar, the event is added to today's date, and not the date selected in the list.

 

Start: if(empty(triggerBody()?['Fra']),null,formatDateTime(triggerBody()?['Fra'],'MM/dd/yyyy'))

End: if(empty(triggerBody()?['Til']),null,formatDateTime(triggerBody()?['Til'],'MM/dd/yyyy'))

 

Skjermbilde 2023-10-30 kl. 10.33.31.png

 

Would have liked to have the event become an "All day event" as well.

 

Hope someone can help me out here.

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @hp-Anders 

    Power Automate works in UTC time zone.

    I see that you are converting the date to string using formatDateTime.

    Either get rid of the formatdatetime function or covert the time in UTC

    What Time Zone Does Power Automate Use? - Power Tech Tips

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard