How do I filter a repeating group or result by a relative date?

I’m trying to either show a repeating group, or even do a count or sum of a field called “Close Date.” I want to filter the repeating group by that field such as:

Close Date = THIS MONTH
Close Date = LAST MONTH
Close Date = THIS YEAR

Things like that, how would I do that? I tried doing a search for, and I put Close Date =, but when I pick “Current date/time” I’m not sure how to select current month, or previous month, etc?

Create 2 date variables called date1 and date2 on page or any group element. Then create some filter buttons which sets date1 and date2 based on your requirements. ie. fro THIS MONTH date1 would be current date/time set date to 1 and hours to 00 for date2 set current date/time +1 month and set date to 1 and hours to 00, minutes to 00 (this is be 1st of next month). Then on repeating group you would add 2 constraints ie created date > date1 and created date<date2