跳到主要内容
跳到主要内容

CURTIME,CURRENT_TIME

curtime,current_time

Syntax

TIME CURTIME()

Description

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

Examples

mysql> select current_time();
+---------------------+
| current_time() |
+---------------------+
| 2023-08-01 17:32:24 |
+---------------------+

keywords

CURTIME,CURRENT_TIME