How to Get Current Date in MySQL?

engrmahabub
Mahabubur Rahman
Published on May, 27 2024 1 min read 0 comments
image

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 :


 

 


 

0 Comments