cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Sharepoint date error

I am getting date from a sharepoint list, and date come always wrong ( 1 day less than in my sharepoint list). I was trying to use DateTimeZone.UTM, but i don't know how and I don't find any information or example. Somebody know it? 

Thank you

 

Sharepoint List:

 

1.png

 

 

 

 

 

 

 

 

 

PowerApp:

 

2.png

 

 

 

 

4 REPLIES 4
Power Participant
Power Participant

Re: Sharepoint date error

Hello naredie87, this is indeed an issue of time zones.  SharePoint will show you the date/time in the time zone of your local settings (e.g. Germany, 00:00 22/07/2016), whereas PowerApps will download the date/time in UTC (e.g 23:00 21/07/2016), so the date part is 21/7.

I am not aware of a way to detect your local time zone in PowerApps, but I will later try to see and may update this post.

You can add one/two hours to the date you receive from SharePoint in order to show the correct date/time.  Please let me know if you need details on how to do this.

Highlighted
New Member

Re: Sharepoint date error

Yeah I'm seeing this also, SharePoint regional settings are Australia and my Phone is AU also, but date are showing previous day when viewed in the PowerApps

 

I suspect this is related to how SharePoint stores date, when another system interpreste the date it reads is as the date before because the time is actually 00:00:00 or something like that

Highlighted
Frequent Visitor

Re: Sharepoint date error

Hi Steelman,


Can you please provide steps to add one/two hours to the date that we receiving from sharepoint.

Highlighted
New Member

Bug...Dates in Power BI differ from the Dates in the SHarePoint source

Hi,

Is this issue resolved?

I'm facing same issue with shaepoint date and power bi mismatch by one day

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,001)