current_timestamp

Description

Obtains the current date and returns a value if the DATETIME type, accurate to the microsecond.

Syntax

DATETIME CURRENT_TIMESTAMP()

Examples

MySQL > select current_timestamp();
+----------------------------+
| current_timestamp()        |
+----------------------------+
| 2023-11-18 12:58:05.375000 |
+----------------------------+

keyword

CURRENT_TIMESTAMP,CURRENT,TIMESTAMP