Share via

SharePoint REST API returning DateTime field (Created) without timezone (no "Z" suffix)

ffbld01@uk.ibm.com 96 Reputation points
2026-02-26T12:45:56.7333333+00:00

We are observing unusual behavior with the SharePoint REST API when retrieving Sites using:

https://org.sharepoint.com/{ServerRelativeUrl}/_api/web/

In the API response, the Created property is being returned without any timezone information, for example:

"Created": "2025-03-27T11:32:33"

Typically, ISO 8601 date-time values include either:

A Z suffix to indicate UTC:

2025-03-27T11:32:33Z

Or an explicit offset:

2025-03-27T11:32:33+00:00

However, the current response does not include any timezone indicator.
Would expect date fields with explicit offset information to avoid ambiguity.

Is this a documented schema in SharePoint REST API behavior?
Has there been a recent update or configuration change affecting date-time serialization?
Can we safely assume that returned values without timezone are UTC?

If anyone from Microsoft or the community can clarify whether this is a regression, configuration-based behavior, or by-design change, it would be greatly appreciated.

Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jayden-P 17,110 Reputation points Microsoft External Staff Moderator
    2026-02-26T13:42:35.58+00:00

    Note: This information is provided as a convenience to you. These sites are not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the below link.

    Hi @******@uk.ibm.com

    Thank you for posting question to Microsoft Q&A forum.

    I have tested and I do see the same behavior as yours. Only Created field doesn't have the Time zone information.

     "Created": "2025-07-03T07:47:34.063",
     "LastItemModifiedDate": "2026-02-24T17:36:53Z",
     "LastItemUserModifiedDate": "2026-02-19T07:06:13Z",
    

    I have not able to find any documents about this behavior. However, you cannot assume the value returned is in UTC.

    You can try this; it will return the time in UTC time zone.

    GET /_api/web/RegionalSettings/TimeZone/localTimeToUTC(@date)?@date='2025-07-03T07:47:34.063'
    
    

    User's image

    I also found some threads that have similar issue:

    https://github.com/SharePoint/sp-dev-docs/issues/5369

    Sharepoint Online REST: ListItemAllFields response DateTime timezones - SharePoint Stack Exchange

    My recommendation is to report this behavior via SharePoint · Community.

    I hope this information helps.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.