Skip to main content
Version: V1.0.0

CURTIME

Syntax

CURTIME(scale)

Description

Returns the current time without the date part. This function is an alias for CURRENT_TIME().

scale specifies the precision of the microseconds part, which can be an integer from 0 to 6. The default value is 0.

Examples

SELECT CURTIME(0);
+------------+
| CURTIME(0) |
+------------+
| 16:16:20 |
+------------+
1 row in set (0.001 sec)