check for number of months
Merge pull request #1232 from Remo/date-archive

check for number of months