Custom record filter on date

Certified Senior Developer

I want to create a date filter with the following options.

1. This month

2. Previous month

3. This Year

4. previous Year.

  Discussion posts and replies are publicly visible