Sql Server 2016, ships with a new system catalog view that returns the current UTC Offset for a given time zone and whether the time zone is currently observing Daylight Savings Time.
Fun fact: Not all UTC offsets are in one hour increments. Some are only 30 minutes.
The time zones listed are the ones that have been installed on the machine where the SQL Server instance is running. The list of string time zone names are in Windows time zone format.
Fun fact: Unless you’re a scientist, GMT are the UTC are the same.
The view returns a list of time zones, along with it’s UTC Offset and a bitwise operator, to indicate whether the time zone is observing Daylight Savings Time.
<span id="mce_SELREST_end" style="overflow: hidden; line-height: 0;"></span> SELECT [name] , [current_utc_offset] , [is_currently_dst] FROM [sys].[time_zone_info];
Fun fact: UTC stands for Coordinated Universal Time. If that seems backwards, it’s because UTC is in the French word order, instead of the English word order you were expecting.
If you've needed to parse or construct a URI in C#, you've likely done it…
The second installment in my series of C# basics illustrates the proper use of access…
This page details the coding style I've adopted for C# code in my applications. You…
For the new C# section of my website, I wanted to post some notes that…
There are some pretty compelling reasons to lock down your LinkedIn account now. We bet…
We bet you didn't know that your full name, picture, work history, and more may…