Check out example codes for "mysql between date range". It will help you in understanding the concepts better.

Code Example 1

select * from hockey_stats 
where game_date between '2012-03-11 00:00:00' and '2012-05-11 23:59:00' 
order by game_date desc;

Learn ReactJs, React Native from akashmittal.com