跳到主要内容
版本:Candidate-4.1

current_timezone

获取当前时区,以 VARCHAR 类型返回。

语法

VARCHAR CURRENT_TIMEZONE()

示例

MySQL > select current_timezone();
+---------------------+
| current_timezone() |
+---------------------+
| America/Los_Angeles |
+---------------------+
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.