Skip to content

Latest commit

 

History

History
37 lines (34 loc) · 1.86 KB

sys-time-zone-info-transact-sql.md

File metadata and controls

37 lines (34 loc) · 1.86 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs monikerRange
sys.time_zone_info (Transact-SQL)
sys.time_zone_info (Transact-SQL)
rwestMSFT
randolphwest
08/06/2018
sql
system-objects
reference
sys.time_zone_info
sys.time_zone_info_TSQL
time_zone_info
time_zone_info_TSQL
sys.time_zone_info system table
TSQL
=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current||=fabric

sys.time_zone_info (Transact-SQL)

[!INCLUDE sqlserver2016-asdb-asdbmi-asa-fabricse-fabricdw]

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)
AT TIME ZONE (Transact-SQL)
Date and Time Data Types and Functions (Transact-SQL)
Server-wide Configuration Catalog Views (Transact-SQL)