MySQL search between dates -
i have field in table holds registration date in following format
26 august 2013, 5:48:17 am
which best way search between dates in format?
just use between
select * table1 date between curdate() , curdate() - interval 1 day
pay attention, borders included. works on timestamps.
Comments
Post a Comment