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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Formatting date on report

(0) ShareShare
ReportReport
Posted on by 368
Hello.
My reports by default print the dates as 11. January 2024
I want the format of the dates to be 11.01.2024.
This includes all the default date fields especially in the Sales Invoice, Purchase Order, and Sales Order report, but I would like this to be the default for all reports. 
How can I achieve this?
  • Suggested answer
    Shrey Chauhan Profile Picture
    297 on at
    Hello,

    You can use this following code to get this 11.01.2024 date format in report  :

    1. Rec.Date := format(Rec.Date, 0, '<Day,2>/<Month,2>/<Year4>');
    2. Rec.Date :=Format(Rec.Date,40, '<Standard Format,1>')
    Hope this help to solve your problem.
    May other expert's give you better solution.

    Thank you, 
    Shrey Chauhan
  • Hagru Profile Picture
    368 on at
    Where would I add that code in case?
    I do have reportextensions for the tables I mentioned, but I am not sure where to add those lines in case.
    Also, is there a way to set this as the default for every report, so that I don't have to make x amount of report extensions?
  • Suggested answer
    YUN ZHU Profile Picture
    103,257 Super User 2026 Season 2 on at
    Hi, as standard this is based on country and region settings, you can try to change the settings below.
     
    As for what Shrey mentioned, this is for developers and needs to be defined in code.
     
    Hope this helps.
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans