enable generate (year, month) from any time.