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 / Sharepoint adding 2 ho...
Power Automate
Unanswered

Sharepoint adding 2 hours to time given

(0) ShareShare
ReportReport
Posted on by 14

I have a flow that gets rows from an excel spreadsheet and adds them to a sharepoint list - this includes a couple of columns than include dates and times (note - I store the date/times as strings in excel because I was having issues getting power automate to read them)

RachelUCN_0-1649760426777.png

 

The flow adds them to sharepoint

RachelUCN_3-1649760553531.png

 

 

it looks fine in the flow checker outputs

RachelUCN_1-1649760469883.png

 

But on sharepoint it adds 2 hours

RachelUCN_2-1649760514685.png

 

I'm assuming it's something to do with time zones as the times in the spreadsheet are in British Summer Time (GMT + 1) but the sharepoint site it set to UTC + 1 and I can't figure out why that would ever add 2 hours?

 

As a side note - I'm not really sure how UTC interacts with BST 

 

Thanks for any help

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @RachelUCN 

     

    Please check your SharePoint DateTime settings?

     

    Thanks

  • RachelUCN Profile Picture
    14 on at

    Hi

     

    Do you mean this?

    RachelUCN_0-1649768750185.png

    Thanks

  • takolota1 Profile Picture
    4,974 Moderator on at

    @RachelUCN 

    SharePoint takes any date value you give it for a date column & assumes it is in UTC time. Then on the front-end it adjusts to the time zone you set the site for.

     

    Try converting the time zone to UTC time where it is entered into SharePoint from the flow.

     

     

    This was the bane of my existence while building SharePoint & Outlook synced calendars, adjusting for time zone & daylights savings time.

  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    The Z at the end of the times means it is Zulu time, so atually UTC +0.

    This is always UTC +0.

     

    Excel itself doesn't store the timezone next to the datetime so the flow will alsways treat it as UTC+0.

    Here is where you get the first hour.

     

    I'm not an Sharepoint expert but my guess would be that Sharepoint converts it for you from UTC+0 to UTC+1 (BST) and so you gain another hour here.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @RachelUCN 

     

    Thanks for your reply. Is that time zone settings right?

  • RachelUCN Profile Picture
    14 on at

    I converted to UTC and that worked after I realised that I need to set everything to London (UTC + 0) not somewhere else (UTC + 1) because even though it doesn't say so it does know that London is in BST (UCT + 1) right now. 

     

    Very confusing but it's (hopefully) sorted now!

  • RachelUCN Profile Picture
    14 on at

    It wasn't! I didn't realise the time zones given account for daylight savings so thought I had to manually select a timezone an hour ahead (UTC + 1) rather than trusting that it would use that even though it said London was UTC + 0.

     

    Very confusing!

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @RachelUCN 

     

    So your SharePoint setting is different than your local time zone. Change the time zone to your local time and see if the dates are showing correctly or not?

     

    Thanks

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard