bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL MAKETIME() Function

Example

SELECT MAKETIME(11, 35,
4);

Definition and Usage

The MAKETIME() function creates and returns a time based on an hour, minute, and second value.

Syntax

MAKETIME(
hour
,
minute
,
 second
)

Parameter Values

ParameterDescription
hourRequired. The hour value
minuteRequired. The minute value
secondRequired. The seconds value

Technical Details

Works in:From MySQL 4.0

Previous

MySQL MAKEDATE() Function

Next

MySQL MICROSECOND() Function