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 Apps / Change date format fro...
Power Apps
Unanswered

Change date format from Sharepoint

(0) ShareShare
ReportReport
Posted on by

Hello, I am using SharePoint list as data source and in the list there are two date columns. When I insert them in the power app, the hour is different by two hours.

What I should see "13/05/2019 07:00" and what I am getting "13/05/2019 09:00".

Any help or suggestions on how to fomart that value would be great.

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,143 on at

    Hi @Anonymous 

     

    PowerApps always shows results in utc format

    SharePoint also shows data in UTC format but when displayed converts it to local time zone

     

    https://toddbaginski.com/blog/working-with-local-and-utc-dates-and-times-in-powerapps/

     

    https://sharepoint.stackexchange.com/questions/256813/powerapps-date-only-field-showing-wrong-date-but-only-for-certain-dates

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • Community Power Platform Member Profile Picture
    on at

    Thanks for the reply, but I do not see how to implement this.

    I have a label in wich the text property is "thisItem.DateA", how do I modify it? Thanks

  • Verified answer
    RezaDorrani Profile Picture
    12,143 on at

    Hi @Anonymous 

     

    Use

     

    DateAdd( thisItem.DateA, TimeZoneOffset(), Minutes )

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard