cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Lorcan
Level: Powered On

Datepicker shows wrong date in SP

Hi

I have encountered another problem on the datepicker whereas I have two datepickers on my EditForm.

Datepicker1 - A normal datepicker with time input and thats it. Its supposed to record the starting date and time of an aircrafts flight and its stores the data to a sharepoint column.

Datepicker2 - Is the exact same thing. I have tied Datepicker2's DATE default setting to Datepicker1 because no one will be flying any aircraft at night or through the night. and I will enter the TIME of day manually into the time entry field.
Also will then be stored in a sharepoint column.

Basically I can then go back and see the date, start time and finish time of the flight and I can then work out my own duration of the flight if I need to at a later stage.

My problem however, Is when I enter the dates in my Apps, all is good. But when I go back to my Sharepoint list the date is always off by 1 or 2 days and the time is always off by 3-4 hours.

Anyone encountered this before?

Regards
Lorcan

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Datepicker shows wrong date in SP

Hi Lorcan,

 

This should be related with the date time zone.

 

By default PowerApps would change the date time into UTC time zone. Currently this is not available for PowerApps to auto-detect the local time zones for the date time value. The Product team is aware of this and are working on a solution for this scenario.

 

For a workaround, you may consider to use the text function to convert the time zones.

 

For the details, please check the thread below:

Date displayed is one day off

 

Regards,

Mona Li

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

Re: Datepicker shows wrong date in SP

Hi Lorcan,

 

This should be related with the date time zone.

 

By default PowerApps would change the date time into UTC time zone. Currently this is not available for PowerApps to auto-detect the local time zones for the date time value. The Product team is aware of this and are working on a solution for this scenario.

 

For a workaround, you may consider to use the text function to convert the time zones.

 

For the details, please check the thread below:

Date displayed is one day off

 

Regards,

Mona Li

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

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 215 members 4,571 guests
Please welcome our newest community members: