bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL CURRENT_TIME() Function

Example

SELECT CURRENT_TIME();

Definition and Usage

The CURRENT_TIME() 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 CURTIME() function.

Syntax

CURRENT_TIME()

Technical Details

Works in:From MySQL 4.0

Previous

MySQL CURRENT_DATE() Function

Next

MySQL CURRENT_TIMESTAMP() Function