Example
Return current time:
sql
SELECT CURTIME();
Definition and Usage
The CURTIME() function returns the current time.
Note: The time is returned as "HH-MM-SS" (string) or as HHMMSS.uuuuuu (numeric).
Note: This function equals the CURRENT_TIME() function.
Syntax
text
CURTIME()
Technical Details
| Works in: | From MySQL 4.0 |
|---|
More Examples
Example
Return current time + 1:
sql
SELECT CURTIME() + 1;