CURTIME

2023-10-31 11:17:12  Updated

Syntax

CURTIME(scale)

Purpose

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

scale specifies the precision of microseconds. Valid values are any integers ranging from 0 to 6. The default value is 0.

Examples

obclient> SELECT CURTIME(0);
+------------+
| CURTIME(0) |
+------------+
| 16:17:11   |
+------------+
1 row in set

Contact Us