SQL Server time zone

  • 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

  • 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