Date format in nav 09

himalihimali Member Posts: 104
Dear all,

Does this possible to make date format 24-june-10 in nav 2009. Actaully now navision has 24-06-10 date format..but month is required in text format (june).

Thank you all in advance

Comments

  • idiotidiot Member Posts: 651
    Try FORMAT (somedate, 0, '<Month Text>')
    NAV - Norton Anti Virus

    ERP Consultant (not just Navision) & Navision challenger
  • himalihimali Member Posts: 104
    thanks for your reponse...but where do i apply ?
  • kinekine Member Posts: 12,562
    where you want to display it in this format. I assume that you do not change it in whole application (it is based on WIndows settings), but only on some report. In this way you can format the output on some specific form/report...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • himalihimali Member Posts: 104
    Actually i changed Date format from windows setting....still it does nt affect in report (Date filter date)
  • NAV_newNAV_new Member Posts: 14
    hi....

    u can do it by Making Function,consider date as a text string and using copystr function
    pick up first two word of date in a local variable ,next two word of month and similarly for year
    and now check the month
    if 01 then print JAN
    02 then print FEB

    and by using DMY2DATE function u assign value.
  • himalihimali Member Posts: 104
    Thanks again ....by the way i am not a Developer...i am Financial consultant...
  • thankeshthankesh Member Posts: 170

    Does this possible to make date format 24-june-10 in nav 2009. Actaully now navision has 24-06-10 date format..but month is required in text format (june).

    Hi Himali,

    Yup! It is possible to change the date format. :roll: You said that you have changed the regional settings of windows. But changing the regional settings and date of windows is not required if you need this requirement in a report. If you are trying to display the date format in a report, just try this in the source expression of the text box,

    FORMAT(TODAY,0,4)

    Here, TODAY returns the date in which the report runs. So, change the date according to your requirement. Hope this will be helpful to you. :thumbsup:
    With warm regards,

    Thankesh

    ***Learn to lead***
  • himalihimali Member Posts: 104
    hi thankesh...thanks for your response...but where do i change or apply your instruction..can you give me location as well..
  • thankeshthankesh Member Posts: 170
    edited 2010-06-25
    himali wrote:
    hi thankesh...thanks for your response...but where do i change or apply your instruction..can you give me location as well..

    If you are trying to display the date format in a report, just try this in the source expression of the text box,

    FORMAT(TODAY,0,4)

    I gave the solution for your Qn in the previous post itself. If you have any doubts kindly look into report - Whse. - Receipt (7316) and run it.
    With warm regards,

    Thankesh

    ***Learn to lead***
  • himalihimali Member Posts: 104
    i am extremly sorry thankesh....but i really did nt get you...can you give me step to achieve date format 25-june-10
  • kinekine Member Posts: 12,562
    himali wrote:
    Thanks again ....by the way i am not a Developer...i am Financial consultant...
    Than ask developer to do it for you. Do not try to do things, which are not part of your job, you are not specialist for that...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • andy76andy76 Member Posts: 616
    I am a developer and understand previous post.

    I find that logging in with a user all dates are displayed in a format, logging in with another user all date fields in the system are displayed correctly.

    Is there a preference/setting by user in some part of the system?

    Thank you
  • kinekine Member Posts: 12,562
    The local settings are saved per user profile in windows. Each user in window could have different local settings.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • bangswitbangswit Member Posts: 265
    DocumentDate --> type date
    DocumentDateText --> type text

    how to set 20100614 to be date type?
    EVALUATE(DocumentDate,FORMAT(DocumentDateText,0,'<Year4><Month,2><Day,2>'));
    
    --> Failed
  • kinekine Member Posts: 12,562
    Than you need to format it by your function to some format which evaluate understand...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.