Time Diffrence in SQL and Navision

minty_friend
Member Posts: 38
Hi Experts, i have a client whose is using navision with SQL Backend
booking is done in Navision from directly navision and website also.
Booking from website is accessing SQL database and making entry into it.
The actual problem is when the booking is done from website, the date and time is accurate in SQL, but when we try to see the date time in Navision it is showing a time gap of around 5 hours...
Can anyone make a guess why this is happening.
booking is done in Navision from directly navision and website also.
Booking from website is accessing SQL database and making entry into it.
The actual problem is when the booking is done from website, the date and time is accurate in SQL, but when we try to see the date time in Navision it is showing a time gap of around 5 hours...
Can anyone make a guess why this is happening.
0
Comments
-
DateTimes in navision get recalculated in NAV so they have to be stored in sql in GMT as far as i know.
This only happens with datetimes, date and time variables on itself do not have this behavior.
I assume you work at a timezone of GMT + 5 or GMT - 50 -
Booking from website is accessing SQL database and making entry into it.
I hope that it is only writing into some proprietary table and application server is posting the real things... [-o<0 -
i have the same problem
you can try these
select getdate(), getutcdate()
SELECT DATEADD(minute, DATEDIFF(minute, GETUTCDATE(),GETDATE()), GETutcDATE());Ajay Jain
UK0
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