Categories
How to check if the date is equal to the current one?
The date is written in varchar (2017-09-06 07:35:53). How to check only the date, that it is current?
Answer the question
In order to leave comments, you need to log in
SELECT CURRENT_DATE = DATE('2017-09-06 07:35:53')
https://dev.mysql.com/doc/refman/5.7/en/date-and-t...
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question