Check out example codes for "sql where time stamp is in between". It will help you in understanding the concepts better.

Code Example 1

WHERE  `date` BETWEEN '2013-03-26 00:00:01' AND '2013-03-26 23:59:59'

Learn ReactJs, React Native from akashmittal.com