current_timestamp

description

Syntax

DATETIME CURRENT_TIMESTAMP()

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

example

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

keywords

  1. CURRENT_TIMESTAMP,CURRENT,TIMESTAMP