UTC_TIMESTAMP
Stai visualizzando una vecchia versione di questo article. Visualizza
la versione più recente.
Sintassi
UTC_TIMESTAMP, UTC_TIMESTAMP()
Spiegazione
Restituisce la data e l'orario UTC correnti nel formato 'YYYY-MM-DD HH:MM:SS' o YYYYMMDDHHMMSS.uuuuuu, a seconda che la funzione sia usata in un contesto stringa o numerico.
Esempi
MariaDB [(none)]> SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0; +---------------------+-----------------------+ | UTC_TIMESTAMP() | UTC_TIMESTAMP() + 0 | +---------------------+-----------------------+ | 2010-03-27 17:33:16 | 20100327173316.000000 | +---------------------+-----------------------+ 1 row in set (0.00 sec) MariaDB [(none)]>
Vedi anche
Commenti
Sto caricando i commenti......
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.