Latest web development tutorials
 

MySQL CURTIME() Function


< 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

< MySQL Date Functions