Skip to main content
Version: V1.0.0

CURRENT_TIME

Declaration

CURRENT_TIME([scale])

Description

Returns the current time without the date part.

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

Examples

SELECT CURRENT_TIME(6);
+-----------------+
| CURRENT_TIME(6) |
+-----------------+
| 16:11:50.200872 |
+-----------------+
1 row in set (0.001 sec)