Check out example codes for "mysql curdate between two dates". It will help you in understanding the concepts better.

Code Example 1

SELECT * FROM `table` WHERE active=0 AND CURDATE() between dateStart and dateEnd

Learn ReactJs, React Native from akashmittal.com