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 / Populating a word temp...
Power Automate
Unanswered

Populating a word template from a Sharepoint List is not copying the dates and time correctly

(1) ShareShare
ReportReport
Posted on by 42
I have a Flow that works well except for when it populates the date and time from SharePoint as it is correct in SharePoint but when the word document is populated, the date seems to be changed to UTC time.  How do i stop the time from being converted by the Populate a Word template connector or Power Automate?
 
This seems like an easy fix but i have checked my Account settings and all regions are set to the correct time zone including SharePoint. Is there something i am missing here? 
 
SharePoint List date and Time: 
 
Power Automate Time and Date: 
 
 
Any help would be greatly appreciated,
 
With Thanks,
 
Matt 
 
 
Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at
    Hi Matt,
     
    The input date time is in UTC format. You need to apply function to convert to local time zone. Here is an example:
     
    In the below example, I am converting UTC time to IST (India Standard Time):
    convertFromUtc('2024-07-24T03:00:00Z','India Standard Time','MM/dd/yyyy hh:mm tt')
    Replace hardcode datetime value with input datetime dynamically in the above expression.
     
     
    Output:
  • matty2000 Profile Picture
    42 on at
    Hi Manish, 
     
    Thanks for the prompt response and i have attempted your solution and it does not work as intended as my compose action does not work due to the SharePoint Date not being the correct format: 
     
    Compose error: 
    Compose Function: 
     
    SharePoint Field Output from get item action (Field 4 is Date and Time type field): 
     
     
    Can you please advise upon what changes i need to make to make this work? Do i need to convert the field to a string and how do i do this?
     
    Thanks in Advance for your assistance. 

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard