daylight saving time problem..

boby
Member Posts: 78
Hello,
I've got a strange problem..
I track some infos in my orders concerning prestations (arrival,departure,meal,...). The fields are in datetime format.
During this Weekend, we changed hours from daylight saving time and monday morning, we noticed that all the previous datetime infos had lost one hour..
for example, 23/10/07 00:00 became 22/10 23:00, or 23/10/07 10:00 became 23/10/07 09:00
I've read in a help file this:
Do you have an idea for correcting the date display?
Thanks
I've got a strange problem..
I track some infos in my orders concerning prestations (arrival,departure,meal,...). The fields are in datetime format.
During this Weekend, we changed hours from daylight saving time and monday morning, we noticed that all the previous datetime infos had lost one hour..
for example, 23/10/07 00:00 became 22/10 23:00, or 23/10/07 10:00 became 23/10/07 09:00
I've read in a help file this:
"The biannual change to and from daylight saving time affects the way in which datetimes are displayed. For example, if you are located in central Europe, you are in the central European time zone and are using Central European Time (CET). During the winter the difference between CET and UTC is 1 hour. When you change to daylight saving time for the summer the difference is 2 hours.
This means that the local time representation of a UTC will vary depending on the time zone you are located in and whether you are using daylight saving time or not. Therefore, any datetimes that were entered during the winter will be converted and displayed differently after you have changed to daylight saving time for the summer. In other words, datetimes will not necessarily be displayed the same as when they were entered."
Do you have an idea for correcting the date display?
Thanks
0
Comments
-
1) the data in table are not changed by this. It is just "visual" problem.
2) It is why date and time as separate fields are used in many tables instead datetime fields (or all three are used).
3) There is no easy general solution. Not good but working solution can be to not use daylight saving option in Windows and just shift the clock by one hour. It will not "recalculate" the old values in your DB....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