Date format

lakshmivallurulakshmivalluru Member Posts: 168
edited 2004-06-14 in Navision Attain
Does anybody know why navision does not accept dates in the format dd-monthtext-year. Example 20-Apr-03, 21-May-04, 30-Jan-04.

Do we need to change the system date format ?? or is it to do with client executables ?

To check this out go to any date field enter 21-May-03. the date will be accepted but returns a different date.

Next enter 31-May-04, you will get an error that its not a valid date.

Remember though the format is defined to the date field, it doesnt work.
LR

Comments

  • Tommy_SchouTommy_Schou Member Posts: 117
    Does anybody know why navision does not accept dates in the format dd-monthtext-year. Example 20-Apr-03, 21-May-04, 30-Jan-04.

    Do we need to change the system date format ?? or is it to do with client executables ?

    To check this out go to any date field enter 21-May-03. the date will be accepted but returns a different date.

    Next enter 31-May-04, you will get an error that its not a valid date.

    Remember though the format is defined to the date field, it doesnt work.
    I think I do! :)

    It is because it is NOT a valid date in Navision. Navision will not accept a date where you enter the month with text. The reason that it accepts some dates is that it will try and separate the no's you enter en the datefield and thus it comes up with 2103 as a date in your first example and then just add's the current year. The same goes for 31-may-04 which translates to 3104 + current year.. which is an invalid date since there are only 30 days in April. Just enter 210503 for 21-may-03 and so on and so forth. It's easier and faster anyway so way would you want to enter 21-may-03? :-)

    If it happens during an import of data into navision from an external source then you would have to convert the date-string to 21-05-03 or whatever is appropriate before you populate the Navision field.
    Best regards
    Tommy
  • lakshmivallurulakshmivalluru Member Posts: 168
    Hi Tommy,

    thank u very much.... very very good resoponse. I logged the call microsoft..they just copied the help and send a reponse. very poor survice. I logged just to know if anybody faced the same problem similar to mine. You are true one of our customer is importing data in the format i mentioned. so i told them to reformat it. btu still i wanted to know y navision acts so doggy.

    Thank u tommy.
    LR
  • Tommy_SchouTommy_Schou Member Posts: 117
    Glad to be able to help! :)
    Best regards
    Tommy
Sign In or Register to comment.