Different date format

I have problem on the system date in navision. I can view the date in our side in dd/mm/yyyy format but why my client view in in mm/dd/yyyy. I have check the regional setting for my customer, their pc system dat is dd/mm/yyyy but how come she still view the date in navision as mm/dd/yyyy format. Anybody know how to solve this problem.

Reply to me immediately
  • Hi,

    Kindly see the LoginStart trigger of Applicationmanagement codeunit. There is code written
    WORKDATE := NORMALDATE(GLEntry."Posting Date")
    Normaldate always shows the date in mm/dd/yyyy format. Please change the code
    WORKDATE := NORMALDATE(GLEntry."Posting Date");
    WORKDATE := DMY2DATE(DATE2DMY(WORKDATE,1), DATE2DMY(WORKDATE,2), DATE2DMY(WORKDATE,3));

    Now you would be able to get the date in dd/mm/yyyy format.



Related