Reputation: 11448
I have a mysql table called table1. with id and dt columns. The dt is of type datetime.
From this, I am trying to extract all id's with a specific date (not given the time, just the date, like 2011-02-11 say)
I could do it as a between the 00:00:00 and midnight of that date, but is their a proper way to do it with mysql and php?
Upvotes: 1
Views: 188