D/MySQL
MySQL UTC_DATE()
yeon.Biju
2020. 4. 5. 12:42
MySQL 날짜함수, 시간함수
UTC_DATE()
-
UTC_DATE, UTC_DATE()
의 형태
Returns the current UTC date as a value in 'YYYY-MM-DD' or YYYYMMDD format, depending on whether the function is used in string or numeric context.
SELECTmysql> SELECT UTC_DATE(), UTC_DATE()+0 ;
+------------+--------------+
| UTC_DATE() | UTC_DATE()+0 |
+------------+--------------+
| 2020-04-05 | 20200405 |
+------------+--------------+
1 row in set (0.00 sec)