web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to change a Report Layout date format

(2) ShareShare
ReportReport
Posted on by 5

I'm creating a custom report layout for posted sales order shipments and the date format shows the time along with the date. How do I format the date settings to not show the time. I do not know how to use Visual Studio Code with BC to make this change with AL.

pastedimage1593183647072v5.png

I have the same question (0)
  • Terrance Morgan Profile Picture
    515 on at

    Changing the format of the Date/Time Format in Inbox

    Click on the View tab.

    Then click View Settings.

    In the Advanced View Settings dialog box, click Format Columns

    In Available Fields on the left highlight Received

    From the Format drop-down menu (click the down arrow to the right of the format field), then select how you want it displayed. In the below example the format selected would display date and time.

    Click OK

    Then Click OK again on the Advanced View Settings dialog box.

  • Monty Profile Picture
    5 on at

    Sorry I realize I was not very clear. I exported a custom report layout from Business Central into MS Word.. When I import the customized report I edited in Word, back into Business Central, and run the report, the dates all show up with the time (4/8/2020 12:00:00 AM) I do not want the date fields to show the time. I can not find any settings or options to set the date format of an XML field in MS Word. I have tried Ctrl+F9 {ShptDate_SalesShptHeader \@ MM/dd/yyyy} but it results in a blank field when the report is run.

  • Suggested answer
    Netjacker2097 Profile Picture
    286 on at

    In VS Code,

    For reports format as a string put column(ShptDate_SalesShptHeader; format("Shipment Date", 0, '<day>/<month>/<year>'))

    [ assuming your fields are what i think it will be :) ]

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans