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 / SharePoint - wrong dat...
Power Automate
Answered

SharePoint - wrong dates in list

(0) ShareShare
ReportReport
Posted on by 4

Hello,

I am new to Flow and I try to use it with our on-prem Sharepoint and I seem to do something wrong.

 

Following simple flow:

- Read a SP list, filters out everything that has today or less in single field.

- Create HTML table from it.

- Send email with HTML table.

 

Filtering logic looks fine, but output has a date with day before, ie. SP has 06.02.2019 - Email has 05.02.2019.

On testing runs, it seems wrong data are already picked in "Read from SP" step.

Out SP has UTC+1 time zone - can that be the problem?

If convert timezone is way to go, how can I just apply conversion to SP data and send correct result to HTML table?

 

Kind thanks for any advice!

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @DK_MSW,

     

    How long is the time difference between your sharepoint lime and the utc time?

    What is the column in your sharepoint list to save the date?

     

    I have made a test to create a "Date" column in my sharepoint list to save the date.

    You could add the time difference in flow as screenshot below:

    Capture.PNG

     

    The expression in the flow is as below if the time difference is 1 hour:

    addHours(item()?['Date'],1)

    The expression in the flow is as below if the time difference is 1 day:

    addDays(item()?['Date'],1)

     

     

    Best regards,

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • DK_MSW Profile Picture
    4 on at

    Hi,

    UTC difference - that was what confused me - we have UTC +1, but difference is a whole day.

    Your example was very helpful and I was able to achieve what was needed with AddDays expression.

     

    Thank You!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 598

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 370

Last 30 days Overall leaderboard