Is there an easy way to find the timezone for datetime dataype of SQL Server database?
You can use SYSDATETIMEOFFSET(). This will tell you the offset from GMT at the end.
SELECT SYSDATETIMEOFFSET()
2016-06-21 08:36:54.9753055 -04:00
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With