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 Apps / Office365.CalendarPost...
Power Apps
Answered

Office365.CalendarPostItem: Correct slot on calendar, but listed as UTC in calendar

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm utilizing the Meeting Capture framework. I have everything working correctly except that the event is posted to Office365 in UTC. 
To lay it out:

1) I select a meeting slot from 8:00AM - 8:30AM and it posts on the calendar in the correct slot

 

CalendarHighLevelView.png

 

 

2. But, when I open up the event in Office365, it shows the time in UTC

 

CalendarDetails.png

 

This will likely be confusing for the end users. Is there a way to post the event in PST or local time zone?

Here's the code from the submit button:

 

 

Office365.CalendarPostItem(MyCalendarID, FollowUpEnd, FollowUpStart,TextMeetingSubject1.Text,{Body:{Content:TextMeetingMessage1.Text,ContentType:"Text"},Attendees:ForAll(FollowUpMeetingAttendees,{Type:"required",Status:{Response:"none",Time:"0001-01-01T00:00:00Z"},EmailAddress:{Name:DisplayName,Address:UserPrincipalName}})})

 

 

Additional information:

1) I have the DatePicker's DateTimeZone set to "local"

2) The app OnStart is

 

 

Concurrent(Set(MyCalendarID,LookUp(Office365.CalendarGetTables().value,DisplayName=LookUp(CalendarLocalizedLabel,Value=DisplayName).Value).Name);ClearCollect(AllFutureEvents,Office365.GetEventsCalendarView(MyCalendarID,Text(Today(),UTC),Text(DateAdd(Today(),2,Days),UTC)).Values)

 

 

I'm sooooo close. Just this final tweak and I'll be able to run a Beta w/ a few users! 😀

Thanks in advance for any help!!

Categories:
I have the same question (0)
  • Verified answer
    Javier Gallego Profile Picture
    Microsoft Employee on at

    Hi whabicht

     

    We have this post about Working with Dates and Times inside of your flows

    https://flow.microsoft.com/en-us/blog/working-with-dates-and-times/

     

     

    Please check if it can help you.

     

    Javier

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 Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard