Check out example codes for "mysql 3 months ago". It will help you in understanding the concepts better.

Code Example 1

date_created >= NOW() - INTERVAL 3 MONTH

Learn ReactJs, React Native from akashmittal.com