ID EN
Date and Time Functions

UTC_DATE

MySQL 8.4 🇮🇩 Bahasa Indonesia

UTC_DATE, UTC_DATE()

Syntax

MYSQL
SELECT UTC_DATE(), UTC_DATE() + 0;
'2003-08-14', 20030814

Contoh

Example

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.

MYSQL
SELECT UTC_DATE(), UTC_DATE() + 0;
'2003-08-14', 20030814