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 / Format Date in Power A...
Power Apps
Answered

Format Date in Power App Gallery

(0) ShareShare
ReportReport
Posted on by 5,345 Moderator

I have a Power App that is pulling in data from a SharePoint list. The list has a few calculated columns the provide dates.

The calculated columns have formulas similar to the below.
    =[Client Intake Date]+7


The Gallery field has 'ThisItem.ColumnName

In Power Apps the date appears as the following in the Gallery label - YYYY-dd-mmT00:00:00Z

Can I wrap the 'ThisItem' content in something that will force the date to show as MM-dd-yyyy, without the time.

Categories:
  • cdwhite Profile Picture
    1,069 Most Valuable Professional on at

    Sure! Something like this would work for you:

     

    Text(ThisItem.DateColumn, “mm-dd-yyyy”)

  • Phineas Profile Picture
    5,345 Moderator on at

    Typed -

     

    Text(ThisItem.DateField,"mm-dd-yyyy")

     

    This had no influence on the appearance of the date content from the SharePoint list calculated column.

     

    Date still appears as -

         yyyy-mm-ddT00:00:00Z

  • cdwhite Profile Picture
    1,069 Most Valuable Professional on at

    My apologies, I glanced over the calculated column bit.

     

    I always had issue with calculated columns showing correctly from SharePoint. Instead, I just did the calculation in Power Apps instead - either just for visual purposes or to save the calculation back to a column type that was easier to work with, ie Date or Single Line of Text.

     

    alternatively, have you tried using the DateValue function for your gallery field, incase the output from the calculated columns needs concerting?

     

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-datevalue-timevalue

  • Phineas Profile Picture
    5,345 Moderator on at

    Yep, same.

     

    Just wanted to check and make sure nothing has changed.

     

    I'll need to figure out how to get the existing dates in, and have new dates entered from Power Apps, avoiding the calculated column.

     

    Thanks!

  • Verified answer
    developerAJ Profile Picture
    4,763 on at

    Text(DateValue( ThisItem.calculatedColumn), "mm-dd-yyyy")

     

    this would work

     

     

    Please click Accept as solution and Thumbs Up. 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.

    You can connect with me on LinkedIn

     

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard