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 / Problem with Sharepoin...
Power Automate
Unanswered

Problem with Sharepoint Flow and Time Zone

(0) ShareShare
ReportReport
Posted on by 164

Hey all,

 

I have a flow in which I create Sharepoint elements based on the latest element in a list. 

Basically I start the list by putting in the first entry with start- and endtime and after that I start a flow where I put in a specific number x so that the flow creates x entries with the specific time and +7 days for start- and endtime, so that I get weekly entries with the same hours.


The flow works as expected but the problem is time zone differences when summer time ends. Based in germany at the end of october and in middle of march the time zone changes and the entries are wrong.

As a workaround I would now delete item 17 and all other wrong entries, change the item 16 manually to the correc time and restart the flow, then it works again.

 

vobius_0-1656574314883.png

 

 

My flow looks like this:

vobius_1-1656574380670.png

vobius_2-1656574434247.png

the addDays functions:

addDays(outputs('latest_ELEMENT')?['body/starttime'],7) (Anfangszeit)
addDays(outputs('latest_ELEMENT')?['body/endtime'],7) (Endzeit)
 
 

vobius_4-1656574508155.png

 

Does anybody have an idea how to fix this?

 

Categories:
I have the same question (0)
  • edgarsimoes Profile Picture
    Microsoft Employee on at

     

    Hello there, @vobius 

     

    1. In order to help you, I would like to recommend you to check this steps:

    Go to Site Settings where your SharePoint list is hosted, and then click “Regional settings” which is under Site Administration, and you can change to your local region.

     

    edgarsimoes_1-1656581655615.png

    2. Consider use instead of the expressions, the "Date Time" connector.

    edgarsimoes_2-1656581982767.png

    edgarsimoes_3-1656582063735.png

     

    Let me know if this actions can help you resolve this issue.

     

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

     

    Happy automating,

     

    Edgar Simões

     

  • jonheb Profile Picture
    164 on at

    Hey,

    thanks for your input.

    The regional settings are already correct as far as I'm aware.

    vobius_0-1656588048927.png

     

    I just tried using the Date time connector. It generates the same output unfortunately.

     

    vobius_1-1656588076351.png

     

  • edgarsimoes Profile Picture
    Microsoft Employee on at

    Have you tried this connection action? If not please do so, and report how did it go.

    edgarsimoes_0-1656596968087.png

     

  • jonheb Profile Picture
    164 on at

    What should I use there? Convert from UTC+1 to UTC+1 ?

  • edgarsimoes Profile Picture
    Microsoft Employee on at

    Try to see with a compose action please, if the result with this connectors or your expressions gives you the right timestamp. So, that I understand if it is a power automate problem or a sharepont configuration.

  • jonheb Profile Picture
    164 on at

    I just tried it:

     

    The "Add to time"-Action always returns the same time.

    The "Convert time zone"-Action (UTC+1 to UTC+1) returns the false time (the input time from Sharepoint is 1 hour off and therefore the output time is also)

     

  • edgarsimoes Profile Picture
    Microsoft Employee on at

    Well, you could create like a condition to check if the dates present in the row are inside the interval between end of october and in middle of march. If so, you could use the same formula and add +1h to write it right. 

     

    If a date is outside the interval that you have, you use the standard formula.

     

    Tell me what your thoughts on this.

     

    Happy automating,

     

    Edgar Simões

  • jonheb Profile Picture
    164 on at

    Would be a good idea, but I can't seem to find any expression to calculate whether or not the date is between october and march. 

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard