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 / Copy classic SharePoin...
Power Automate
Answered

Copy classic SharePoint events to a list - problem with date/time

(0) ShareShare
ReportReport
Posted on by 43

I created a modern calendar in SPO to show events of all sites which are connected to a hub.

Basically it works as expected but I have problems with date/time format.

I am aware of the UTC topic and I thought I can handle it - seems no 😞

 

Simple goal: copy events item to separate list.

List contains date/time column called Anfangszeit (start time) and Endzeit (end time).

In case the event starts on a specific time I can simply copy the original UTC value which I've read from the original events list.

In case the event is a full-day event I remove 1 hour from start time and 2 hours from end time.

See the following screen shot for the result. The source column indicates UTC from original event list.

I've marked in red the error - I have absolutely no clue how to deal with that properly...........

(side note - my sites are all in UTC+1)

 

MTrummer_0-1673038757836.png

 

Categories:
I have the same question (0)
  • Verified answer
    MTR_RuF Profile Picture
    43 on at

    Found a solution withouth really knowing why it works that way.

     

    1) In case of events which are not full day I can grab the UTC datetime from the original list element and use it for the new element.

    MTrummer_0-1673041603157.png

    2) In case of events which start at 00:00 and end at 23:59 I grab the string of the UTC datetime, remove the Z at the end and convert this string to UTC. The result will go to the list of the new element.

    MTrummer_2-1673041740150.png

     

    MTrummer_1-1673041692298.png

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard