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 / 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:
I have the same question (0)
  • 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,923 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

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard