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
Highlighted
Power Participant
Power Participant

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

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

Hi Steelman,


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

Highlighted

Hi,

Is this issue resolved?

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,777)