Skip to main content
VeloDB Cloud 4.x is based on Doris 3.x. Versions in this section refer to Doris versions. See Version Mapping.

CURTIME,CURRENT_TIME

Description​

Retrieves the current time and returns it as a TIME type.

Alias​

  • CURTIME
  • CURRENT_TIME

Syntax​

CURTIME()

Return Value​

Returns the current time.

Examples​

mysql> select current_time();
+----------------+
| current_time() |
+----------------+
| 15:25:47 |
+----------------+