Notice: session_start(): A session had already been started - ignoring in /home/u614325693/domains/onedoubt.com/public_html/post.php on line 3
CURTIME - ONEDOUBT.COM

Example

Return current time:

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 function.

Syntax

CURTIME()

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Return current time + 1:

SELECT CURTIME() + 1;


Login
ADS CODE