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 / Displaying calculated ...
Power Apps
Unanswered

Displaying calculated dates in short form without time in a form

(0) ShareShare
ReportReport
Posted on by

I have a detail screen in my app which is used to show asset details for my company assets, two critical dates for us are the Next Service Date and the Warranty Expiry Date both of these values are calculated in my SharePoint list and when I add the fields to the Detail Form they are displaying in the following format 2012-06-31T23:00:00Z, whereas what we really need is this format 31-06-2021.

How can I define this formatting? 

Categories:
  • VDS_Mantra Profile Picture
    175 on at

    Hi, 

     

    Use the Text(Now(),ShortDate)

    Instead of Now() you can use your database column name of date. 

     

     

     

     

  • JayMagness Profile Picture
    1,663 on at

    Hi,

     

    Here is the date format detail in powrapps

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/show-text-dates-times

     

    Text ( Formula),"DD-MM-YY")

  • eka24 Profile Picture
    20,925 on at

    You can use:

    Left(TextBox1.Text,Find("T",TextBox1.Text)-1)
    Assuming the your data is in TextBox1, put the formula in another textbox2
     
    If the data is in a Table, create a Collection:
    ClearCollect(CollNewTable, AddColumns(YourTable,"NewDate",Left(Date,Find("T",Date)-1)))
     
    Then use the collection which has the converted table: CollNewTable
    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard