MySQL CURRENT_DATE() FunctionThe current_date() is a MySQL date/time function. It is used to get the current date. SyntaxParametersNA ReturnsThe current_date() function returns the current date. It will return the current date as a 'YYYY-MM-DD' format if used in a string context. It will return the current date as a YYYYMMDD format if used in a numeric context. Example 1Output: Example 2Output: Next TopicMySQL date/time |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India