July 27, 2016 at 5:37 am
Hi,
The system where SQL server install has windows 10 install with timezone set as UTC-5
when I run SQL stmt select SYSDATETIMEOFFSET() I got back -4
I thought SQL is using Windows timezone setting but some how it is one hour less. Any idea how to set it to make the timezone the same?
Thanks,
Ddee
July 27, 2016 at 11:54 am
I believe the issue you are running into is that SYSDATETIMEOFFSET() is not Daylight Savings Time aware.
How you handle the difference depends on numerous things (what you are doing with what data with what time zones blah blah)
Sue
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy