implemented date ranges for the month picker.