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

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -