Back to Starrocks

curtime,current_time

docs/en/sql-reference/sql-functions/date-time-functions/curtime.md

4.1.0491 B
Original Source

curtime,current_time

Obtains the current time and returns a value of the TIME type.

This function may return different results for different time zones. For more information, see Configure a time zone.

Syntax

Haskell
TIME CURTIME()

Examples

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

keyword

CURTIME,CURRENT_TIME