Skip to content

Commit a795246

Browse files
committed
Refresh sys.time_zone_info (UUF 340866)
1 parent 8fd15f1 commit a795246

1 file changed

Lines changed: 28 additions & 17 deletions

File tree

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: "sys.time_zone_info (Transact-SQL)"
3-
description: sys.time_zone_info (Transact-SQL)
3+
description: sys.time_zone_info returns information about supported time zones.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: "08/06/2018"
6+
ms.date: 11/25/2024
77
ms.service: sql
88
ms.subservice: system-objects
99
ms.topic: "reference"
@@ -16,22 +16,33 @@ helpviewer_keywords:
1616
- "sys.time_zone_info system table"
1717
dev_langs:
1818
- "TSQL"
19-
monikerRange: "=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current||=fabric"
19+
monikerRange: "=azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric"
2020
---
2121
# sys.time_zone_info (Transact-SQL)
22+
2223
[!INCLUDE [sqlserver2016-asdb-asdbmi-asa-fabricse-fabricdw](../../includes/applies-to-version/sqlserver2016-asdb-asdbmi-asa-fabricse-fabricdw.md)]
2324

24-
Returns information about supported time zones. All time zones installed on the computer are stored in the following registry hive:
25-
`KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones`.
26-
27-
|Column name|Data type|Description|
28-
|-----------------|---------------|-----------------|
29-
|**name**|**sysname**|Name of the time zone in Windows standard format. For example, **Cen. Australia Standard Time** or **Central European Standard Time**.|
30-
|**current_utc_offset**|**nvarchar(12)**|Current offset to UTC. For example, **+01:00** or **-07:00**.|
31-
|**is_currently_dst**|**bit**|True if currently observing daylight savings time.|
32-
33-
## See Also
34-
[GETUTCDATE (Transact-SQL)](../../t-sql/functions/getutcdate-transact-sql.md)
35-
[AT TIME ZONE (Transact-SQL)](../../t-sql/queries/at-time-zone-transact-sql.md)
36-
[Date and Time Data Types and Functions (Transact-SQL)](../../t-sql/functions/date-and-time-data-types-and-functions-transact-sql.md)
37-
[Server-wide Configuration Catalog Views (Transact-SQL)](../../relational-databases/system-catalog-views/server-wide-configuration-catalog-views-transact-sql.md)
25+
`sys.time_zone_info` returns information about supported time zones.
26+
27+
| Column name | Data type | Description |
28+
| --- | --- | --- |
29+
| `name` | **sysname** | Name of the time zone in Windows standard format. For example, `Cen. Australia Standard Time` or `Central European Standard Time`. |
30+
| `current_utc_offset` | **nvarchar(12)** | Current offset to UTC. For example, `+01:00` or `-07:00`. |
31+
| `is_currently_dst` | **bit** | True if currently observing daylight savings time. |
32+
33+
## Remarks
34+
35+
All time zones installed on the computer are stored in the following registry hive:
36+
37+
- `KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones`.
38+
39+
## Permissions
40+
41+
Any user with `CONNECT` permissions can access this system catalog view.
42+
43+
## Related content
44+
45+
- [GETUTCDATE (Transact-SQL)](../../t-sql/functions/getutcdate-transact-sql.md)
46+
- [AT TIME ZONE (Transact-SQL)](../../t-sql/queries/at-time-zone-transact-sql.md)
47+
- [Date and time data types and functions (Transact-SQL)](../../t-sql/functions/date-and-time-data-types-and-functions-transact-sql.md)
48+
- [Server-wide Configuration Catalog Views (Transact-SQL)](server-wide-configuration-catalog-views-transact-sql.md)

0 commit comments

Comments
 (0)