Controlling the date field

je79ayps
Member Posts: 49
Hello!
I've installed a Danish Navision client onto a English Windows XP. I want to change the way date is inserted in date fields in Navision. Instead of writing 11/14/81 I want to write 14/11/81.
In the "Regional and Language Options" in Windows I've (under custimization and date) changed the "short date format" from "M/d/yyyy" to "d/M/yyyy".
This seems to have "solved" my problem but is there perhaps a better way (i.e. not change the date format for whole Windows but only Navision) or is this method the "correct" (and only?) way to do it?
Jimmy
I've installed a Danish Navision client onto a English Windows XP. I want to change the way date is inserted in date fields in Navision. Instead of writing 11/14/81 I want to write 14/11/81.
In the "Regional and Language Options" in Windows I've (under custimization and date) changed the "short date format" from "M/d/yyyy" to "d/M/yyyy".
This seems to have "solved" my problem but is there perhaps a better way (i.e. not change the date format for whole Windows but only Navision) or is this method the "correct" (and only?) way to do it?
Jimmy
0
Comments
-
It is at least the easiest way.
Another way could be to rewrite a function in Codeunit 1, which deals with the input of Dates: GetSeparateDateTime.
It contains the lineIF NOT EVALUATE(Date,DateText) THEN EXIT(FALSE);
EVALUATE uses the Regional Settings to convert the input date to a Date-field. You'll have to replace the EVALUATE-line with your own algorithm.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Thanks!0
-
HI je79ayps
I would like to know how you go about your issue in this posted topic...
I also have the same question...
I want to ensure all to use dd/mm/yy format , other than changing the system date at each PC what's the solution?0 -
Have you read Luc Van Dyck's post? The solution is there...
Salut!Laura Nicolàs
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions