1
I have a date that is in string format in the database "dd/MM/yyyy"
and I needed to return in my query the dates from today. How can I do this conversion in the query to compare with today? Thank you in advance!
update: I’m using the command minha_data > date('now')
I have 3 dates in my bank 2/7/2015, 3/12/2015 and 3/3/2016, but is returning only the last date, should return the last 2.
Are you sure
date('now')
is in format dd/mm/yyyy? He may be in mm/dd/yyyy.– Jéf Bueno
yes, I recorded in this format, and when return is like this too.
– daniel12345smith