utc_timestamp
utc_timestampβ
Descriptionβ
Syntaxβ
DATETIME UTC_TIMESTAMP()
Returns the current UTC date and time in "YYYY-MM-DD HH: MM: SS" or
A Value of "YYYYMMDDHMMSS" Format
Depending on whether the function is used in a string or numeric context
exampleβ
mysql> select utc_timestamp(),utc_timestamp() + 1;
+---------------------+---------------------+
| utc_timestamp() | utc_timestamp() + 1 |
+---------------------+---------------------+
| 2019-07-10 12:31:18 | 20190710123119 |
+---------------------+---------------------+
keywordsβ
UTC_TIMESTAMP,UTC,TIMESTAMP