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