Skip to main content

Notifications

Announcements

No record found.

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

Date format in custom report layout

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
    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
    GrantSwith 197 on at
    RE: Date format in custom report layout

    Needs votes

    experience.dynamics.com/.../

    experience.dynamics.com/.../

  • Juliem Profile Picture
    Juliem 231 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
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 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

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans