Skip to content

UTC_DATE

SELECT UTC_DATE();
+------------+
| UTC_DATE() |
+------------+
| 2022-03-21 |
+------------+

The UTC_DATE() function in MySQL retrieves the current date in UTC format. The provided SQL command uses this function to fetch and display the current date, formatted in the YYYY-MM-DD format.