Skip to main content

Notifications

Community site session details

Community site session details

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

Date format in custom report layout

(2) ShareShare
ReportReport
Posted on by 5

Dear all,

We are having some issues with the date format on the documents. We customize the reports in Word and we are now expriencing a change in the 

date format (2019 november 12 instead of 2019/11/12). Did anyone had this problem ?

pastedimage1575383697993v1.png

Thank you,

Laurence T.

  • Suggested answer
    HendrikStapelberg Profile Picture
    35 on at
    RE: Date format in custom report layout

    Hi all

    I also had a problem with the date format on the customer statements in Business Central being  MM/dd/yyyy.  Tried to format the custom report layout, but nothing worked.  Eventually I changed the language from Englisth USA to English UK and the date format is now dd/mm/yy.  I do not know if Microsoft made a change for this?

  • GrantSwith Profile Picture
    197 on at
    RE: Date format in custom report layout

    Needs votes

    experience.dynamics.com/.../

    experience.dynamics.com/.../

  • Juliem Profile Picture
    287 on at
    RE: Date format in custom report layout

    I'm bringing this old post up.

    Is there any way to do the formatting directly in WORD and not AL

    We have clients who wants to just modified the custom word layout and all the required fields and logic exist already, so no coding is needed. Just some formatting.

    Is the only solution really through AL?

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    13,458 Moderator on at
    RE: Date format in custom report layout

    The date depends on your client setting.

    If you want to fix the format, you can do it in AL.

    For example:

    DateText := format(InputDate, 0, '<Year4> <Month Text> <Day,2>');

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans