Active users for specific months

The query Mittineague references does the job perfectly. I use it for my monthly reporting.