Well, I save the date\'s with minutes and second in my database.
And I want to check if the date from my db = to date today.
my db = to date today
I read about this,
You just need simple conversion when you are having ur date in varchar. Your query should be like:
varchar
SELECT DATE_FORMAT('2015-08-21 12:35:15', '%Y-%M-%d %H:%i');
OUTPUT
2015-August-21 12:35