Create a dynamic selection list of month and year
Generates the list and adds a year for months that have passed already
It can be handy sometimes to give the user a selection list of month and year, for example to generate a report for that certain period.
This task generates the list and considering the current month it adds a year for months that have passed already. So when you run this in March 2012 it will show
The selection shows next month as default.