문제

i am in turkey. turkey timezone is (UTC +02:00)

But on sql server management studio

select (GETDATE() - GETUTCDATE() ) as a

gives

1900-01-01 03:00:00.000

도움이 되었습니까?

해결책

Turkey is currently on daylight saving time. It uses UTC+03:00 until October 27, when it will switch back to UTC+02:00. Details here.

Your standard time zone offset is +2, but your current offset is +3. Please read the timezone tag wiki, especially the section titled "Time Zone != Offset".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top