Check out example codes for "find records created in a particular month rails". It will help you in understanding the concepts better.

Code Example 1

Model.where(:date_column => date)

Model.where('extract(year  from date_column) = ?', desired_year)
Model.where('extract(month from date_column) = ?', desired_month)
Model.where('extract(day   from date_column) = ?', desired_day_of_month)

Learn ReactJs, React Native from akashmittal.com