Skip to content

Commit

Permalink
Merge pull request MicrosoftDocs#3119 from BYHAM/patch-430
Browse files Browse the repository at this point in the history
sys.time_zone_info, corrected applies to
  • Loading branch information
Lisaco88 authored Sep 13, 2017
2 parents c53ad0b + 126276c commit 39fc38d
Showing 1 changed file with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "sys.time_zone_info (Transact-SQL) | Microsoft Docs"
ms.custom:
- "SQL2016_New_Updated"
ms.date: "11/15/2016"
ms.date: "09/12/2017"
ms.prod: "sql-non-specified"
ms.reviewer: ""
ms.suite: ""
Expand All @@ -28,21 +28,21 @@ ms.author: "rickbyh"
manager: "jhubbard"
---
# sys.time_zone_info (Transact-SQL)
[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx_md](../../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)]
[!INCLUDE[tsql-appliesto-ss2016-all-md](../../includes/tsql-appliesto-ss2016-all-md.md)]

Returns information about supported time zones. All time zones installed on the computer are stored in the following registry hive:
**KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones**.

|Column name|Data type|Description|
|-----------------|---------------|-----------------|
|**name**|**sysname**|Name of the time zone in Windows standard format. For example **Cen. Australia Standard Time** or **Central European Standard Time**.|
|**current_utc_offset**|**nvarchar(12)**|Current offset to UTC. For example **+01:00** or **-07:00**.|
|**is_currently_dst**|**bit**|True if currently observing daylight savings time.|

## See Also
[GETUTCDATE (Transact-SQL)](../../t-sql/functions/getutcdate-transact-sql.md)
[AT TIME ZONE (Transact-SQL)](../../t-sql/queries/at-time-zone-transact-sql.md)
[Date and Time Data Types and Functions (Transact-SQL)](../../t-sql/functions/date-and-time-data-types-and-functions-transact-sql.md)
[Server-wide Configuration Catalog Views (Transact-SQL)](../../relational-databases/system-catalog-views/server-wide-configuration-catalog-views-transact-sql.md)

Returns information about supported time zones. All time zones installed on the computer are stored in the following registry hive:
`KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones`.

|Column name|Data type|Description|
|-----------------|---------------|-----------------|
|**name**|**sysname**|Name of the time zone in Windows standard format. For example, **Cen. Australia Standard Time** or **Central European Standard Time**.|
|**current_utc_offset**|**nvarchar(12)**|Current offset to UTC. For example, **+01:00** or **-07:00**.|
|**is_currently_dst**|**bit**|True if currently observing daylight savings time.|

## See Also
[GETUTCDATE (Transact-SQL)](../../t-sql/functions/getutcdate-transact-sql.md)
[AT TIME ZONE (Transact-SQL)](../../t-sql/queries/at-time-zone-transact-sql.md)
[Date and Time Data Types and Functions (Transact-SQL)](../../t-sql/functions/date-and-time-data-types-and-functions-transact-sql.md)
[Server-wide Configuration Catalog Views (Transact-SQL)](../../relational-databases/system-catalog-views/server-wide-configuration-catalog-views-transact-sql.md)


0 comments on commit 39fc38d

Please sign in to comment.