current_timestamp

description

Syntax

DATETIME CURRENT_TIMESTAMP()

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

example

MySQL > select current_timestamp();
+---------------------+
| current_timestamp() |
+---------------------+
| 2019-05-27 15:59:33 |
+---------------------+

keyword

CURRENT_TIMESTAMP,CURRENT,TIMESTAMP