扫码一下
查看教程更方便
utc_time()函数 返回当前 utc 时间。
utc_time()函数语法如下
utc_time()
返回当前格式为 'hh:mm:ss' 或 hhmmss 的 utc 时间,具体取决于函数是在字符串还是数字上下文中使用。
mysql> select utc_time(), utc_time() 0;
---------------------------------------------------------
| utc_time(), utc_time() 0 |
---------------------------------------------------------
| 18:07:53, 180753 |
---------------------------------------------------------
1 row in set (0.00 sec)