C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL CURDATE() FunctionThe curdate() is a my date/time function. It is used to get the current date. Syntaxselect curdate(); ParametersNA ReturnsThis function returns the current date. Example 1Select curdate(); Output: Example 2Select curdate()+2; Output:
Next TopicMySQL date/time
|