I've got a column date
, which has a specific format.
dd/mm/yyyy
(for ex 31/05/2018
). How can i drop rows where date
is less than today?
I'm using MySQL5 & PHP7.
EDIT
I know it's a simple operation, but actually my date format is "weird", i tried doing
DELETE FROM table WHERE date < '26/06/2017'
, but it's actually deleting columns aged 2018.