How do I do a range of years check?