Saturday, 6 September 2014

How to find out current date of the database in MySql

SELECT CURDATE() CURRENT_DATE;

Above query will return only date. if you want to fetch date with time then you can use below query:-

SELECT NOW() CURRENT_DATE;



Read Also:-  Find out current date in MariaDB

No comments:

Post a Comment