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 / wrong date passed from...
Power Automate
Unanswered

wrong date passed from sharepoint list to word

(0) ShareShare
ReportReport
Posted on by 820

Hi

I have a flow that creates docx file using quick parts. The issue is in sharepoint list i have datefrom which is 2020-12-21. THis is entered by user. Column format is datetime. 

in my get item action i can crealrly see that it returns 2020-12-21

 

in acion Update file properties i can also see that it passes correct date 2020-12-21 and it generates the docx file in a sharepoint library but when i open this generated file i see that date is 2020-12-20. 

I have checked my sitecollection region - it is set to my region UTC+2.

I tired Formatdatetime tried converting to timezone nothing seems to be working

 

I also noticed if i return as result to one of the work fields expresion utcnow() it return 10 hours before my current time zone.

if i addhours(utcnow(),2) then it returns my current good time. 

Anybody knows the clue what is happening?

Any suggestions pls?

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @jja 

    Internally, SharePoint stores all dates and times as UTC.  Have you tried converting the date that you use in the update file properties to UTC?  In other words, send the time in UTC to SharePoint?

  • julijazas Profile Picture
    820 on at

    Hi @ScottShearer 

    I have tried this

    convertTimeZone(body('Get_item')?['datefield'],'UTC','FLE Standard Time','yyyy-MM-dd HH:mm:ss')

    FLE Standart Time is my corrent zone

    You mean i need to convert UTC to UTC?

    Can you help to write formula for my field?

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard