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-11 12:45:34 2014-11-11 12:45:34

SQL Dates MySQL Date Functions

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: