When using MySQL, you can use the MAKETIME()
function to return a time from the various time parts.
In other words, you provide three arguments; the hour, the minutes, and the seconds. The MAKETIME()
function will then return the time value based on those two arguments.