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

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

c++ - Issues with OpenGL referencing when compiling in Ubuntu terminal -

Using Angularjs $http in browser console -