![image](/static/img/ProfessionslsCommunity.png)
Problem :
We would like to get current date in MySQL database. So we need to execute query to solve this.
Solution :
Write bellow query to get yestarday date -
SELECT CURDATE() AS `date`;
Output :
![](https://devs3.pro/media/blog_image/image_hYlk9ZK.png)
Problem :
We would like to get current date in MySQL database. So we need to execute query to solve this.
Solution :
Write bellow query to get yestarday date -
SELECT CURDATE() AS `date`;
Output :