SQL SERVER – List All Available TimeZone

Let me ask you a quick question – how many timezone SQL Server supports? The answer is for SQL Server 2019 it is 141. Yes, it is true. Let us see it.

SQL SERVER - List All Available TimeZone timezone-800x277

Run the following command:

SELECT *
FROM sys.time_zone_info

It will bring up the following results. Here you can see three columns.

The first column is the name of the timezone and the second one is the current UTC offset. The one after that indicates if that particular timezone is observing daylight saving time or not. I find it very interesting as many international Developers often struggle with this information. This DVM works on the on-premises SQL Server as well as on Azure.

Here are my few recent videos and I would like to know what is your feedback about them. Do not forget to subscribe SQL in Sixty Seconds series. I hope you appreciate learning about the Last 5 SQL in Sixty Seconds Video.

If you have any questions, you can always reach out to me on Twitter.

Reference: Pinal Dave (http://blog.SQLAuthority.com)

Previous Post
SQL SERVER – Empty Database Authentication Cache with DBCC FLUSHAUTHCACHE
Next Post
SQL Authority 15 Years of Blogging and Upcoming Changes

Related Posts

No results found.

Leave a Reply

Menu