跳到主要内容
版本:3.2

curtime,current_time

功能

获取当前的时间,以 TIME 类型返回。

该函数受时区影响,具体参见 设置时区

语法

TIME CURTIME()

示例

select current_time();
+----------------+
| current_time() |
+----------------+
| 15:25:47 |
+----------------+
Rocky the happy otterStarRocks Assistant

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