How can I get time zones list in Microsoft SQL Server 2008R2?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using time zone data in SQL Server 2008
http://blogs.msdn.com/b/sqlprogrammability/archive/2008/03/18/using-time-zone-data-in-sql-server-2008.aspx.
If I understand the blog entry correctly, there is no time zones list in SQL Server 2008 R2, because there is no internationally recognized standard for such a list. Instead, Microsoft offers a
datetimeoffsetdata type, which allows you to work with numeric time zone offsets.However, the article does offer some tentative solutions for building your own time zone list. In particular, it offers an example program that uses a .NET library to write data from the Olson Timezone database (http://www.twinsun.com/tz/tz-link.htm) into a table, which can then be imported into SQL Server.