質問

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