525
MySQL CURRENT_TIME() Function
The current_time() is a MySQL date/time function. It is used to get the current time.
Syntax
Parameters
NA
Returns
This 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 1
Output:
Example 2
Output:
Next TopicMySQL date/time