MySQL CURRENT_TIME() FunctionThe current_time() is a MySQL date/time function. It is used to get the current time. SyntaxParametersNA ReturnsThis function will return the current time. It will return the current time as an 'HH:MM:SS' format if used in a string context. It will return the current time as an HHMMSS format if used in a numeric context. Example 1Output: Example 2Output:
Next TopicMySQL date/time
|