Back to Starrocks

current_timezone

docs/en/sql-reference/sql-functions/date-time-functions/current_timezone.md

4.1.0333 B
Original Source

current_timezone

Obtains the current time zone and returns a value of the VARCHAR type.

Syntax

Haskell
VARCHAR CURRENT_TIMETIME()

Examples

Plain
MySQL > select current_timezone();
+---------------------+
| current_timezone()  |
+---------------------+
| America/Los_Angeles |
+---------------------+