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

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
    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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard