List All Available Time Zone – SQL Server

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
Fig.1 List of Timezone available in SQL Server

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Website Built with WordPress.com.

Up ↑

%d bloggers like this: