This is a read-only copy of the MariaDB Knowledgebase generated on 2024-12-22. For the latest, interactive version please visit https://mariadb.com/kb/.

CURTIME

Sintassi

CURTIME()

Spiegazione

Restituisce l'ora corrente nel formato 'HH:MM:SS' o HHMMSS.uuuuuu, a seconda che la fuzione sia usata in un contesto numerico o stringa. Il valore è espresso nella time zone corrente.

Esempi

MariaDB [(none)]> SELECT CURTIME();
+-----------+
| CURTIME() |
+-----------+
| 12:45:39  |
+-----------+
1 row in set (0.00 sec)

MariaDB [(none)]> SELECT CURTIME() + 0;
+---------------+
| CURTIME() + 0 |
+---------------+
| 124545.000000 |
+---------------+
1 row in set (0.00 sec)

MariaDB [(none)]> 

Vedi anche

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.