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 / Creator Kit - DetailsL...
Power Apps
Answered

Creator Kit - DetailsList: Format DateTime Column to remove the time component

(0) ShareShare
ReportReport
Posted on by 8

Hi Everyone,

 

I am working on a custom page in a Model-driven App and started using the Details List component of the Creator Kit, however, I have been stuck in the past two days trying to format the date time column to remove the time component. 

 

I would appreciate it if someone can extend their support and let me know2, how to do it.

 

Below is the Details List showing the Start Date and Finish Date columns with the time component 00:00:00 that I am trying to remove.

 

MYZakaria_0-1667893353397.png

 

The Data Source is a Dataverse table where the Start and Finish Date columns are as follows:

1. Type: Date and Time

2. Format: Date Only

3. Behaviour: Simple

4. Time Zone Adjustment: User Local

 

Under the Details List component, the Start Date field has a property called "FieldType" and the value in that property is "d". I tried fiddling with this property to see if it controls what is displayed in the field but with no success.

 

Thank you in advance for your support.

 

 

Categories:
  • ShrutiDhiman Profile Picture
    39 on at

    Hi @MYZakaria 

    I tried it is is working .Screenshot 2022-11-08 143900.jpgScreenshot 2022-11-08 143921.jpg

    Refresh the page after edit the column And then check again .

    I hope this helps you!

    Thanks 

  • MYZakaria Profile Picture
    8 on at

    Hi @ShrutiDhiman , 

     

    Thanks for your quick response.

     

    The screenshot I provided is not for a Table view in a Model Driven App but it is for a Details List Component used in Canvas App and Custom Pages to provide Fluent UI Experience. 

     

    The below link provides more information about the Details List component and the Creator Kit.

    Overview of the Creator Kit components - Power Platform | Microsoft Learn

     

    DetailsList control reference - Power Platform | Microsoft Learn

     

    Thanks

     

  • MYZakaria Profile Picture
    8 on at

    Hi @ScottDurow ,

     

    I would appreciate it if you could extend some help regarding the Details List Date Time column. Please refer to the original post. I am trying to remove the time component that is displayed with the date component. My date time column is Date Only.

     

    Thank you in advance.

     

  • Verified answer
    ScottDurow Profile Picture
    1,039 on at

    Hi! 
    There is a feature on the back log to provide formatting strings for data columns - but in the mean time you can use the technique described here https://github.com/microsoft/powercat-creator-kit/issues/54


    Hope this helps

  • MYZakaria Profile Picture
    8 on at

    Hi @ScottDurow ,

     

    Thanks for your quick response and support.

     

    Because my use case scenario doesn't require time zone adjustment, I managed to do it by changing the "Time zone adjustment" to Date Only in addition to the behaviour which was already set to Date Only.

     

    Thanks a lot.

     

     

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

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard