Date format Word layout

mustafaAlsoufimustafaAlsoufi Member Posts: 47
edited 2023-04-28 in NAV Three Tier
Does anyone know how to change the date format in the Word layout?

I tried to use the following command

column(Posting_Date; Format("Gen. Journal Line"."Posting Date", 0, '<Day,2>/<Month,2>/<Year,4>'))

But the year is showing 0022 instead of 2022.
zviwiwxsfosb.png

Best Answer

  • Developer101Developer101 Member Posts: 523
    Answer ✓
    Format("Gen. Journal Line"."Posting Date", 0, '<Day,2>/<Month,2>/<Year4>'))
    United Kingdom

Answers

  • Developer101Developer101 Member Posts: 523
    Answer ✓
    Format("Gen. Journal Line"."Posting Date", 0, '<Day,2>/<Month,2>/<Year4>'))
    United Kingdom
Sign In or Register to comment.