mysql里查看时间
MariaDB [jumpserver]> select current_time;
+--------------+
| current_time |
+--------------+
| 16:22:18 |
+--------------+
1 row in set (0.00 sec)
MariaDB [jumpserver]> select current_date;
+--------------+
| current_date |
+--------------+
| 2018-12-28 |
+--------------+
1 row in set (0.00 sec)