How to Get Current Date in MySQL?

mahabub.devs3
Mahabubur Rahman
Published on Sep, 11 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