C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL Date/Time localtime() FunctionThe localtime() is a MySQL date/time function. It is used to get the current date and time. Syntaxselect localtime(); Returns:This function returns the current date and time. Example 1Select localtime(); Output: Example 2Select localtime()+2; Output:
Next TopicMySQL datetime
|