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 / Timezone when update a...
Power Automate
Suggested Answer

Timezone when update a SharePoint list item using API versus using Update Item action

(0) ShareShare
ReportReport
Posted on by 2,025 Season of Giving Solutions 2025
Hi All,
 
I want to update a DateTime SharePoint column named "PreviousVersionModified", but i am a bit confused on the timezones.., now our site collection has this Regional settings:-
 
 
and when i tried to update the column using direct API call, as follow:-
 
 
 
where i am passing this inside the "FieldValue"  >> utcNow('MM/dd/yyyy HH:mm'),, where the datetime will not be added based on the UTC time zone but it will be added based on the site collection time zone, so when i pass the utcNow('MM/dd/yyyy HH:mm') .. the actual date inside the SharePoint back-end that got added will be UTC + 8 hours...
 
But if i update the same column using the SharePoint Update Item action:-
 
 
 
the datetime added at the SharePoint back-end will be in the correct UTC .. when i am talking about the SharePoint back-end , i mean the date/time column value when i retrieve it using API call
 
So, if i want to use API call approach, how i can tell SharePoint that the datetime i am passing should be added based on the UTC time zone and not based on the site collection timezone?
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    12,191 Super User 2026 Season 1 on at
    Please use the ISO 8601 format for all your dates, example: yyyy-MM-ddTHH:mm
     
    In this example:  2024-11-24T18:48:27Z -  the ā€˜Z’ suffix in this date-time string is used to indicate UTC (Coordinated Universal Time).
     
    For the date in the Update Item action, convert your local time to UTC using the convertToUtc function:
     
    convertToUtc('2024-11-24T12:00', 'Pacific Standard Time')
    2024-11-24T20:00:00.0000000Z

    Function Task
    convertToUtc Convert a timestamp from the source time zone to Universal Time Coordinated (UTC).
     
     
     
    Ellis
     

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 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard