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...
Answered

How to fix date value translation in a report?

(0) ShareShare
ReportReport
Posted on by 73

I would like to have my due date value translated based on the current report language.

If I try to do: FormatDateTime(Fields!DueDate.Value, DateFormat.LongDate), the date will be in french format (my current environment language) but my report is in dutch.Is there a way to fix that?

Thanks in advance

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    There is a codeunit called "Type Helper" that codeunit has a function:

       procedure FormatDate(DateToFormat: Date; LanguageId: Integer): Text

    That will return a correcly formatted date accoudring to the language  id you provide.

  • Suggested answer
    YUN ZHU Profile Picture
    104,117 Super User 2026 Season 2 on at

    Hi, just to add some info.

    In Business Central 2023 wave 1 (BC22), Microsoft released the following new features, you can try them out.

    Define regional settings per report using a region property
    https://yzhums.com/35838/

    New Language Selection table (2000000050)
    https://yzhums.com/36738/

    Hope this helps as well.

    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

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans