Introduction
In this simple tips and tricks article, I would like to share how many time zones does our SQL Server supports. Well, it’s pretty much easy to find by using the system table sys.time_zone_info
sys.time_zone_info
Here is the sample T-SQL to get the list of time zones our SQL Server supports.
SELECT
name AS TimeZone,
current_utc_offset AS UTC,
is_currently_dst AS IsDayLightSaving
FROM
sys.time_zone_info

is_currently_dst
– This column is for the time zone that is currently observing daylight savings time.
Conclusion
In this simple article, We have discussed listing all available timezones in SQL Server. I hope this article was pretty much useful. We will discuss more tips and tricks in our upcoming articles, please feel free to share your feedback in the comment section.
Leave a Reply