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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / GetItems from a ShareP...
Power Automate
Suggested Answer

GetItems from a SharePoint list will convert the DateOnly field to the site timezone?

(0) ShareShare
ReportReport
Posted on by 1,835 Season of Giving Solutions 2025
I have a SharePoint list with a column of type DateTime (DateOnly) field named StartDate1, and our site collection has UTC+2 time zone.
 
Now when i directly use SharePoint REST API "/_api/web/lists/getbytitle('bookingcalendardetails')/items(1238)", i will get this value for the DateOnly field:-
 
 
<d:StartDate1 m:type="Edm.DateTime">2024-10-27T22:00:00Z</d:StartDate1>
 
But when i run the GetItems action, it will convert the above Date into 28/10/2024, which is based on the site time zone?
 
 
So can i conclude that GetItems is smart enough to convert the value returned from SharePoint API into the site time zone regional settings? Although for the Created date the time returned by the GetItems will be in UTC and not in the site time zone as follow:-
 
 
So this is a bit confusing? the question is how GetItems treat the DateOnly fields and the Datetime fields in respect to the site local time zone?
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    11,798 Super User 2026 Season 1 on at
     
    I encountered the same questions back in October and wrote a blog post about it.
     
    SharePoint always stores dates in UTC (Coordinated Universal Time).
     
    Power Automate does not perform any time zone conversion in OData queries; it simply passes date filters to SharePoint as they are. SharePoint Online then interprets and processes these filters based on two factors:

    1. the presence of the 'Z' suffix (indicating UTC)
       
    2. and the site's time zone configuration.
    ​​​​​​​
    In the images we have two almost identical OData filter queries. The key difference between the two is the 'Z' at the end of the date time string in the first query.


    ​​​​​​​If the date-time filter includes a 'Z' suffix, SharePoint treats it as UTC.

    If the 'Z' is absent, SharePoint assumes the date-time is in the site's configured local time and converts it to UTC accordingly. Read more here and let me know if they match your experiences:

     
    Ellis
  • johnjohnPter Profile Picture
    1,835 Season of Giving Solutions 2025 on at
     
    Thanks for the reply.. but i am asking a different question, i am not asking about searching the sharepoint list inside the GetItems, i am asking about the response i get from this action inregards to the timezone
  • Ellis Karim Profile Picture
    11,798 Super User 2026 Season 1 on at
     
    Ok, I think I see what you mean:
     
    EndDate = Date Only Column
    Get Item Action returns "EndDate": "2024-12-03"
    Send an HTTP request to SharePoint returns "EndDate": "2024-12-03T00:00:00Z"
    Expecting Get Item to return "2024-12-03T00:00:00Z" and not "2024-12-03"

    and
     
    EndDate = Date Time Column, set to 2024-12-03 14:00 (Region = London, currently same as UTC)
    Get Item action returns  "EndDate": "2024-12-03T14:00:00Z
    Send an HTTP request to SharePoint returns "EndDate": "2024-12-03T14:00:00Z"
     
    Ellis
     
  • johnjohnPter Profile Picture
    1,835 Season of Giving Solutions 2025 on at
     
    you are assuming the Region is London .. but in my case the region for my site is UTC+2.. i am not sure if you understood what i am asking for

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard