Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

SQL CURRENT_TIMEZONE Function

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.

Example

#

This example returns the current timezone on the database server.

 SELECT CURRENT_TIMEZONE() AS Timezone
Result:  1 record
Timezone
(UTC-06:00) Central Time (US & Canada)

Syntax

Syntax of the CURRENT_TIMEZONE function.

CURRENT_TIMEZONE()

You may also like



Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

Guides


vsn 3.1