EN
MySQL - get current date
0
points
In this article, we would like to show you how to get the current date in MySQL.
Quick solution:
SELECT CURDATE();
Practical example
In this example, we will display the current date as current_date
using CURDATE()
function.
Query:
SELECT CURDATE() AS 'current_date';
Result: