Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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

 

 

  • Tony_Bowes_BP Profile Picture
    280 on at
    Re: Show the date and time separate

    Sorry, didn't see the 2nd image.

    Text(Parent.Default,ShortTime)

    ... should do the trick

  • Tony_Bowes_BP Profile Picture
    280 on at
    Re: Show the date and time separate

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard