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.
Below shows the default code with the date and time, I would just like to view the time.
Sorry, didn't see the 2nd image.
Text(Parent.Default,ShortTime)
... should do the trick
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.
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional