CURRENT_TIMEZONE
returns the current timezone name on the database server.
The return value will be based on the instance instead of the operating system.
By default, the timezone time is set to UTC
time.
This example returns the current timezone on the database server.
SELECT CURRENT_TIMEZONE() AS Timezone
Timezone |
---|
(UTC-06:00) Central Time (US & Canada) |
Syntax of the CURRENT_TIMEZONE function.
CURRENT_TIMEZONE()