Checks to see if date is within a range