current_timestamp

Description

Syntax

DATETIME CURRENT_TIMESTAMP()

Get the current time and return it in Datetime type

example

  1. mysql> select current_timestamp();
  2. +---------------------+
  3. | current_timestamp() |
  4. +---------------------+
  5. | 2019-05-27 15:59:33 |
  6. +---------------------+

keyword

CURRENT_TIMESTAMP,CURRENT,TIMESTAMP