now

description

Syntax

DATETIME NOW()

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

example

  1. mysql> select now();
  2. +---------------------+
  3. | now() |
  4. +---------------------+
  5. | 2019-05-27 15:58:25 |
  6. +---------------------+

keyword

  1. NOW