Latest web development tutorials

MySQL CURTIME () function

SQL Dates MySQL Date Functions

Definition and Usage

CURTIME () returns the current time.

grammar

CURTIME()


Examples

Here is the SELECT statement:

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

The results are as follows:

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


SQL Dates MySQL Date Functions