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,
try this code:
DATE_FORMAT(STR_TO_DATE(t.datestring, '%d/%m/%Y'), '%Y-%m-%d')