Skip to main content

CURTIME,CURRENT_TIME

Description

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

This function is consistent with the curtime function in MySQL.

Aliases

  • CURRENT_TIME

Syntax

CURTIME()

Return Value

Returns the current time type of TIME.

Examples

mysql> select curtime();

+----------------+
| curtime() |
+----------------+
| 15:25:47 |
+----------------+