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 / Show the date and time...
Power Apps
Unanswered

Show the date and time separate

(0) ShareShare
ReportReport
Posted on by

Good day everyone,

 

I created a detail page so I can view the data stored but in the detail page I would like to view the time and date separate.

Please note that the "start time" and "Tray Dt" dates are collected and stored in separate columns in dataverse.

 

 For the "Start time" I would like to view the time only and the "Tray Dt" I would like to view the date only.

sophiatheresa74_0-1664344916158.png

 

Below shows the default code with the date and time, I would just like to view the time.

sophiatheresa74_0-1664346384176.png

 

 

Categories:
I have the same question (0)
  • Tony_Bowes_BP Profile Picture
    280 on at

    You should be able to replace the "Start Time" display field with a text label and format the time into text:

    Eg: Text(ThisItem.'Start Time',ShortTime) 

    You can use a similar approach with the date field, although there's usually a lot of other date formatting options. 

     

    Note If you're using a Model-driven app it's quite difficult to have a time-only display properly in lists though. Canvas apps can use the same formatting trick for the gallery too.

  • Tony_Bowes_BP Profile Picture
    280 on at

    Sorry, didn't see the 2nd image.

    Text(Parent.Default,ShortTime)

    ... should do the trick

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard