THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML

MySQL CURTIME() Function


SQL Dates MySQL Date Functions

Definition and Usage

CURTIME() returns the current time.

Syntax

CURTIME()

Example

The following SELECT statement:

SELECT NOW(),CURDATE(),CURTIME()

will result in something like this:

NOW() CURDATE() CURTIME()
2014-11-22 12:45:34 2014-11-22 12:45:34

SQL Dates MySQL Date Functions