85
MySQL Date/Time localtime() Function
The localtime() is a MySQL date/time function. It is used to get the current date and time.
Syntax
Returns:
This function returns the current date and time.
Example 1
Output:
Example 2
Output:
Next TopicMySQL datetime