How to create custom date filter

I'm wondering if it's possible to create a custom date filter.  As you see in the screenshot date filters come with several options.  I would like to add a couple options such as "Last Month" or "Last xx days" as premade options.  Has anyone done this before?

Thanks,

Tom Noel