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 Apps / Date picker not patche...
Power Apps
Answered

Date picker not patched correctly

(0) ShareShare
ReportReport
Posted on by

Hi All, i use date picker in power apps and this data is patched in SharePoint  but when i choose a date the value saved in the SharePoint is one day earlier than what i choose 

for example if i choose 2 of Dec the date saved us 1 of Dec 

How to solve that ? Power Apps.PNG

Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @MostafaGamal ,

    It is probably because your SharePoint settings are on a different time zone to your local PC.

    Have a look at the TimeZoneOffset function

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    .

  • MostafaGamal Profile Picture
    on at

    Hi @WarrenBelz  i read the topic but i didnt yet now how to fix this issue 

  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    @MostafaGamal ,

    What code have you tried - happy to look at it.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@MostafaGamal,

    Based on the issue that you mentioned, do you want to patch the real date to your SP list?

    Do you mean that the date in SharePoint is different from the date selected in PowerApps?  

    The reason why you met this problem is that:

    SharePoint's default time zone is based on your set in the Site Settings

    PowerApps' default time zone is local time zone.

    So when PowerApps load time, it will transfer to local time automatically.

    Please check the difference as follows.

    // Date time in PowerApps:

    You can see that if I don't change the Date time zone into UTC, the PowerApps will always load Beijing time zone by default because I am located in China.

    datetime.png

    // Date time in SharePoint:

    You can go to Site information->View all site settings->Regional settings to set your time zone.

    Please change the time zone and Locale to your current location and time zone.

    Then the time zone will be same in PowerApps and SharePoint.

    When you loading time from the SharePoint list, date time will not change.

    Please check if this could work for you.

    121802Gif.gif

    Regards,

    Qi

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard