CURTIME

CURTIME is a MySQL function that returns the current time. The output format is "HH:MM:SS".

CURTIME()

Example

SELECT CURTIME();

Output

13:23:56

Explanation

The CURTIME() function in MySQL is used to obtain the current time. The format of the output is ‘HH:MM:SS’.

For in-depth explanations and examples SQL keywords where you write your SQL, install our extension.