Return to Snippet

Revision: 69559
at July 17, 2015 02:24 by ironcrema


Initial Code
DECLARE @TimeZone VARCHAR(50)
EXEC MASTER.dbo.xp_regread 'HKEY_LOCAL_MACHINE',
'SYSTEM\CurrentControlSet\Control\TimeZoneInformation',
'TimeZoneKeyName',@TimeZone OUT
SELECT @TimeZone

Initial URL

                                

Initial Description
Get TimeZone SqlServer

Initial Title
Get TimeZone SQL Server

Initial Tags

                                

Initial Language
SQL