title: Mongodb query to retrieve data in month range
body: <p>Does anyone know how to retrieve data by month using Mongodb query? For example, if I only want to retrieve the date range for the past month, or for the past two month, how do I do that? I see examples for getting data for the last N day (e.g for past 5 days using this new Date(new Date().setDate(new Date().getDate()-5)  or N hours, but not seeing examples for only retrieving data for the last N month. Thanks,</p>