web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2012 R2 Dateformat, DD-MMM-YYYY in French

(0) ShareShare
ReportReport
Posted on by

Hi

we use as dateformate DD-MMM-YYYY. When the dynamcis user is set to EN-US it look good for June / July

12-Jun-2015, 12-Jul-2015

When setting the date format to FR-FR ..

i get 12-Jui-2015, 12-Jui-2015  ( as June = Juin , July = Juillet) .. so the 3 letters "Jui" make from a first 3 letters  standpoint sense ..  but not for the user to read.  MS Windows seems to avoid this problem, when setting to MMM in French you get the full month name ...

Any ideas about that 

Pirmin

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Hi Pirmin,

    You this job; it will date like July 02, 2015

    You can change as per your requirements

    static void datesJob(Args _args)

    {

       str dd, mm, yy, dt;

       dt = date2Str(systemDateGet(), 123, DateDay::Digits2, DateSeparator::Slash, DateMonth::Digits2,

              DateSeparator::Slash, DateYear::Digits4);

       dd = substr(dt, 0, 2);

       mm = substr(dt, 4, 2);

       yy = substr(dt, 7, 4);

       dt = mthname(str2int(mm)) + ' ' + dd + ', ' + yy;

       print   dt;

       pause;

    }

  • CU14050944-0 Profile Picture
    on at

    Hi

    well we look for a solution of keeping the date format to DD-MMM-YYYY but maybe replacing the JUI for JUIN with JUN ..

    thx

    Pirmin

  • Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Sorry did not get your point - did this work or not? What problem you are having ?

  • Suggested answer
    Douglas Noel Profile Picture
    3,905 on at

    Hi Pirmin,

    I understand your problem. The point is: Ax does use a kerneltext file (ktd) for translating the setting from control panel to the output.

    in your case: look at the file AxSysFR.ktd in your client bin folder. search for #99 

    TC_MONTH

    ATTENTION ATTENTION do not change more then the following DIRTY workaroud 

    change the 3rd and 4th letter within Juiliet to e.g. Julilet (save the file)

    restart your client and see. Using this 

    Keep in mind: This is a dirty workaround. It is not recommended to modify these files. Only experimental.

    And also keep in mind: You have to do this on each client.

    !!! And do not exchange Janvier and Octobre :-)

    ktdmod.png

    regards

    Douglas

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans