Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 378 Bytes

File metadata and controls

26 lines (18 loc) · 378 Bytes

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