Skip to main content

current_timestamp

current_timestamp

Description

Syntax

DATETIME CURRENT_TIMESTAMP()

Get the current time and return it in Datetime type

example

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

keywords

CURRENT_TIMESTAMP,CURRENT,TIMESTAMP