SelectDB Enterprise
参考手册
SQL 函数
标量函数
时间日期函数
CURTIME,CURRENT_TIME

CURTIME,CURRENT_TIME

描述

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

别名

  • CURTIME
  • CURRENT_TIME

语法

CURTIME()

返回值

返回当前的时间

举例

mysql> select current_time();
+----------------+
| current_time() |
+----------------+
| 15:25:47       |
+----------------+
© 2025 北京飞轮数据科技有限公司 京ICP备2022004029号 | Apache、Apache Doris 以及相关开源项目名称均为 Apache 基金会商标