MySQL CURTIME()Function


SQL DatesMySQL Date Functions

Definition and Usage

CURTIME() returns the current time.

Syntax

CURTIME()


Example

The following is the SELECT statement:

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

The result is as follows:

NOW() CURDATE() CURTIME()
2008-11-11 12:45:34 2008-11-11 12:45:34


SQL DatesMySQL Date Functions Other Extensions