Check out example codes for "sql check if date is between 2 dates". It will help you in understanding the concepts better.

Code Example 1

SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate

Learn ReactJs, React Native from akashmittal.com