Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Change Display of DateTime to just Date

Posted on by

I am wanting to add the Date Created field to the customer list and have been able to do that, but I would like to display it as the Date only without the time. Is that possible? In the customer page extension, I have added the field: 

  addafter("Salesperson Code")
        {
            field(SystemCreatedAt;SystemCreatedAt)
            {
            Caption = 'Created Date';
                ApplicationArea = all;
                Editable = true;
               
            }
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: Change Display of DateTime to just Date

    Hi, hope the following helps.

    Date, Time, DataTime Conversions (Date Type -> DateTime Type, DateTime Type -> Date Type, DateTime Type -> Time Type)

    https://yzhums.com/22928/

    For example,

    pastedimage1674174803940v1.png

    pastedimage1674174847876v2.png

    Thanks.

    ZHU

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans